Closed Bug 1878295 Opened 8 months ago Closed 8 months ago

Link for custom protocol with json not longer recognized

Categories

(Core :: Networking, defect)

Firefox 122
defect

Tracking

()

RESOLVED DUPLICATE of bug 1876731

People

(Reporter: aurelius.slawinski, Unassigned)

References

(Regression)

Details

(Keywords: regression)

User Agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:122.0) Gecko/20100101 Firefox/122.0

Steps to reproduce:

When using a custom protocol, a link with json structure is not recognized anymore:
<a href="vscode://{'cmd':'openFile'}">link not ok</a>

However, a workaround to get this to work again is using a slash like this:
<a href="vscode:///{'cmd':'openFile'}">link workaround</a>

I am using vscode protocol here just as an example:
See https://jsfiddle.net/aLvg0dn3/2/

Actual results:

The link is not clickable (does not appear in the left lower corner as link).

Expected results:

Link should be clickable as usual. In chrome, the link still works.

See Also: → 1603699
Component: Untriaged → Networking
Keywords: regression
Product: Firefox → Core
Regressed by: 1603699
See Also: 1603699

:edgul, since you are the author of the regressor, bug 1603699, could you take a look? Also, could you set the severity field?

For more information, please visit BugBot documentation.

Flags: needinfo?(edgul)

The correct way to represent such URLs is:
<a href="vscode:{'cmd':'openFile'}">link ok</a>

This will get fixed by bug 1877753 in the next Firefox dot release next week.

Status: UNCONFIRMED → RESOLVED
Closed: 8 months ago
Duplicate of bug: 1876731
Flags: needinfo?(edgul)
Resolution: --- → DUPLICATE
You need to log in before you can comment on or make changes to this bug.