- Notifications
You must be signed in to change notification settings - Fork1k
Commitabb3df7
authored
fix(site): avoid constructing invalid apps url (#15711)
In Firefox, parsing a URL containing a `*` returns an error:```new URL("https://*--apps.sydney.fly.dev.coder.com") ``````Uncaught TypeError: URL constructor: https://*--apps.sydney.fly.dev.coder.com is not a valid URL. <anonymous> debugger eval code:1```In Chrome and Node, this same URL does not produce an error.This causes a workspace dashboard with apps to fail to load on Firefox.1 parent3014713 commitabb3df7
2 files changed
+2
-4
lines changedOriginal file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
29 | 29 |
| |
30 | 30 |
| |
31 | 31 |
| |
32 |
| - | |
| 32 | + | |
33 | 33 |
| |
34 |
| - | |
35 | 34 |
| |
36 | 35 |
| |
37 | 36 |
| |
|
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
13 | 13 |
| |
14 | 14 |
| |
15 | 15 |
| |
16 |
| - | |
| 16 | + | |
17 | 17 |
| |
18 |
| - | |
19 | 18 |
| |
20 | 19 |
| |
21 | 20 |
| |
|
0 commit comments
Comments
(0)