Skip to content

Fix debug console URI being decoded - #118226

Merged
Logan Ramos (lramos15) merged 2 commits into
mainfrom
lramos15/decodeURI
Mar 9, 2021
Merged

Logan Ramos (lramos15) merged 2 commits into
mainfrom
lramos15/decodeURI

Conversation

@lramos15

Copy link
Copy Markdown
Member

This PR fixes #112032

This bug was previously fixed, but appears to have regressed due to a530844. I'm not sure why we switched to falling back to targetURI instead of target as before, but I've reverted that as we want to hold off on URIs whenever possible in the open flow as our URI.parse method automatically decodes URI components.

@lramos15 Logan Ramos (lramos15) added this to the March 2021 milestone Mar 5, 2021
@lramos15 Logan Ramos (lramos15) self-assigned this Mar 5, 2021
@lramos15 Logan Ramos (lramos15) changed the title Use strings when possible instead of URIs Fix debug console URI being decoded Mar 5, 2021
@JacksonKearl

Copy link
Copy Markdown
Contributor

Makes sense. The logic needed for that fix was in b84cadf, I believe this change was just for debugging.

Maybe add a test for this? The distinction is a bit unexpected.

@lramos15
Logan Ramos (lramos15) enabled auto-merge (squash) March 9, 2021 15:33
@lramos15
Logan Ramos (lramos15) merged commit eaf4a6a into main Mar 9, 2021
@lramos15
Logan Ramos (lramos15) deleted the lramos15/decodeURI branch March 9, 2021 16:24
@github-actions github-actions Bot locked and limited conversation to collaborators Apr 23, 2021
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Debug Console Linker automatically decodes link

2 participants