New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
A + in a URL is sometimes decoded as a space #1055
Comments
Maybe a simple thing we could do here is Another possibility is |
I'll try that. It will also clarify the code (+esm will be the source, and -esm will be our copy). |
Oops, sorry I already started… 😬 |
We should probably still URL-encode such links as needed… that’s a bug and |
Yes we must urlencode the link and it's nicer to use an underscore (#1056) because the urlencoded + is "ugly". |
not planning to urlencode everything for now—it's too messy |
This affects at least one user who reported that their site hosted on S3 was broken.
dist/_npm/d3@7.9.0/+esm.js
was 403, butdist/_npm/d3@7.9.0/%2Besm.js
was 200.We could (must) url-encode the
src
. But, it's going to look ugly… maybe we can find a better way. (Also we should make sure that we url-encode everything that needs to be encoded.)The text was updated successfully, but these errors were encountered: