You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
It seems like a.href doesn't have a complete URI when a link is in a blob. Maybe you can check if a.hostname is empty and somehow construct the full URI.
I wanted to send a pull request, but all the basePath stuff is mysterious enough. It costs nothing to add 1 line comment on a logic condition on the lines of "this check for X because Y and Z happens"
Honestly I don't know. Which is sort of the challenge with the router. Most the core logic was authored by the previous maintainer, and then was augmented by the community. I've been looking for people interested in helping maintaining the router because I haven't had the chance to look that deeply in how it works.
Fixed on the 2.0 line: anchor click handling no longer intercepts links with a non-http(s) scheme (blob:, mailto:, tel:, data:, …), so blob: links are left to the browser. It's in the @solidjs/router@next prereleases (currently 2.0.0-next.39). It merged into the next branch, so this issue didn't close automatically.
Activity
titoBouzout commentedon Feb 23, 2024
It seems like
a.hrefdoesn't have a completeURIwhen a link is in a blob. Maybe you can check ifa.hostnameis empty and somehow construct the full URI.solid-router/src/data/events.ts
Line 38 in 5ac8ff5
I wanted to send a pull request, but all the
basePathstuff is mysterious enough. It costs nothing to add 1 line comment on a logic condition on the lines of "this check for X because Y and Z happens"ryansolid commentedon Feb 27, 2024
Honestly I don't know. Which is sort of the challenge with the router. Most the core logic was authored by the previous maintainer, and then was augmented by the community. I've been looking for people interested in helping maintaining the router because I haven't had the chance to look that deeply in how it works.
fix: skip non-http(s) links in anchor click handler
ryansolid commentedon Oct 14, 2026
Generated by Claude Code
ryansolid commentedon Oct 14, 2026
Generated by Claude Code