Commit 4bf5113
fix(web): preserve context path in OAuth token refresh URL construction
Using absolute paths (e.g. '/rest/...') with new URL() drops any pathname
from the base URL. Normalize the base to end with '/' and use relative
paths so deployments with a context path (e.g. https://example.com/bitbucket)
resolve correctly.
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>1 parent 2e30395 commit 4bf5113
File tree
1 file changed
+6
-3
lines changed- packages/web/src/ee/features/permissionSyncing
1 file changed
+6
-3
lines changedLines changed: 6 additions & 3 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
218 | 218 | | |
219 | 219 | | |
220 | 220 | | |
| 221 | + | |
| 222 | + | |
| 223 | + | |
221 | 224 | | |
222 | | - | |
| 225 | + | |
223 | 226 | | |
224 | | - | |
| 227 | + | |
225 | 228 | | |
226 | | - | |
| 229 | + | |
227 | 230 | | |
228 | 231 | | |
229 | 232 | | |
| |||
0 commit comments