Commit 2fa0348
committed
Fix enc() to use percent-encoding instead of form-encoding for path segments
URLEncoder.encode produces + for spaces (application/x-www-form-urlencoded).
Path segments require %20 per RFC 3986. Replace + with %20 after encoding.1 parent c258501 commit 2fa0348
1 file changed
Lines changed: 3 additions & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
73 | 73 | | |
74 | 74 | | |
75 | 75 | | |
76 | | - | |
| 76 | + | |
| 77 | + | |
| 78 | + | |
77 | 79 | | |
78 | 80 | | |
79 | 81 | | |
| |||
0 commit comments