-
Notifications
You must be signed in to change notification settings - Fork 16
Commit dc880a3
fix: escape ampersand and question mark in ProxyCommand (#480)
* fix: escape ampersand and question mark in ProxyCommand
Also add some notes on characters double quotes does not handle, in case
we need to do something about them in the future.
Fixes #479.
* Update platform version
Looks like the one we were using disappeared again.
* Add tests for escaping URLs
* Add changelog entry
---------
Co-authored-by: Asher <ash@coder.com>1 parent b493bb0 commit dc880a3
File tree
6 files changed
+45
-5
lines changed- src
- main/kotlin/com/coder/gateway/util
- test
- fixtures/outputs
- kotlin/com/coder/gateway
- cli
- util
6 files changed
+45
-5
lines changedOriginal file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
4 | 4 |
| |
5 | 5 |
| |
6 | 6 |
| |
7 | + | ||
8 | + | ||
9 | + | ||
10 | + | ||
11 | + | ||
12 | + | ||
7 | 13 |
| |
8 | 14 |
| |
9 | 15 |
| |
|
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
26 | 26 |
| |
27 | 27 |
| |
28 | 28 |
| |
29 | - | ||
29 | + | ||
30 | 30 |
| |
31 | 31 |
| |
32 | 32 |
| |
|
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
3 | 3 |
| |
4 | 4 |
| |
5 | 5 |
| |
6 | - | ||
7 | - | ||
6 | + | ||
7 | + | ||
8 | + | ||
9 | + | ||
10 | + | ||
11 | + | ||
12 | + | ||
13 | + | ||
8 | 14 |
| |
9 | 15 |
| |
10 | 16 |
| |
11 | 17 |
| |
12 | 18 |
| |
13 | 19 |
| |
14 | 20 |
| |
15 | - | ||
21 | + | ||
16 | 22 |
| |
17 | 23 |
| |
18 | 24 |
| |
|
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
1 | + | ||
2 | + | ||
3 | + | ||
4 | + | ||
5 | + | ||
6 | + | ||
7 | + | ||
8 | + | ||
9 | + | ||
10 | + | ||
11 | + | ||
12 | + | ||
13 | + | ||
14 | + | ||
15 | + | ||
16 | + |
Lines changed: 9 additions & 1 deletion
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
303 | 303 |
| |
304 | 304 |
| |
305 | 305 |
| |
306 | + | ||
306 | 307 |
| |
307 | 308 |
| |
308 | 309 |
| |
| |||
390 | 391 |
| |
391 | 392 |
| |
392 | 393 |
| |
394 | + | ||
395 | + | ||
396 | + | ||
397 | + | ||
398 | + | ||
399 | + | ||
400 | + | ||
393 | 401 |
| |
394 | 402 |
| |
395 | 403 |
| |
| |||
408 | 416 |
| |
409 | 417 |
| |
410 | 418 |
| |
411 | - | ||
419 | + | ||
412 | 420 |
| |
413 | 421 |
| |
414 | 422 |
| |
|
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
15 | 15 |
| |
16 | 16 |
| |
17 | 17 |
| |
18 | + | ||
19 | + | ||
20 | + | ||
21 | + | ||
18 | 22 |
| |
19 | 23 |
| |
20 | 24 |
| |
|
0 commit comments