Commit 8fa2ced
committed
docs(proxy): clarify encodePhantomLowerForPair fast-path scope
The previous comment implied the no-allocation fast path covered OAuth
JWT phantoms and phantoms whose only escape is %3A. The %3A case still
differs from %3a, so the fast path does NOT skip the allocation there.
It only fires when every percent-escape uses 0-9 digits exclusively
(e.g. %20%21%30). Aligned the comment with the actual behavior.1 parent 47f16d3 commit 8fa2ced
1 file changed
Lines changed: 7 additions & 5 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
40 | 40 | | |
41 | 41 | | |
42 | 42 | | |
43 | | - | |
44 | | - | |
45 | | - | |
46 | | - | |
47 | | - | |
| 43 | + | |
| 44 | + | |
| 45 | + | |
| 46 | + | |
| 47 | + | |
| 48 | + | |
| 49 | + | |
48 | 50 | | |
49 | 51 | | |
50 | 52 | | |
| |||
0 commit comments