Repository navigation
Commit a64d548
authored
Re-encode the URI for the SAML redirect link (#3406)
On the SAML login page, when we pull out the redirect_uri from the url
for the redirect link, it's decoded automatically. When the URI is just
a path, like `/system`, the decoded form on Nexus' end is still a valid
URI. But if there's a sufficiently complex query, with things like
whitespace (or, say, OxQL comparison operators), Nexus will rightly
refuse to parse that after decoding. Simple enough; just re-encode it!1 parent df32a01 commit a64d548
2 files changed
Lines changed: 14 additions & 2 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
18 | 18 | | |
19 | 19 | | |
20 | 20 | | |
21 | | - | |
| 21 | + | |
22 | 22 | | |
23 | 23 | | |
24 | 24 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
24 | 24 | | |
25 | 25 | | |
26 | 26 | | |
27 | | - | |
| 27 | + | |
28 | 28 | | |
29 | 29 | | |
| 30 | + | |
| 31 | + | |
| 32 | + | |
| 33 | + | |
| 34 | + | |
| 35 | + | |
| 36 | + | |
| 37 | + | |
| 38 | + | |
| 39 | + | |
| 40 | + | |
| 41 | + | |
30 | 42 | | |
0 commit comments