This repository has been archived by the owner on Jan 11, 2023. It is now read-only.
-
-
Notifications
You must be signed in to change notification settings - Fork 432
How to use Unicode in slugs #347
Comments
Rich-Harris
added a commit
that referenced
this issue
Sep 3, 2018
better unicode handling - fixes #347, i think
Reopening — I completely misunderstood the issue here and fixed a different bug instead... |
This was referenced Sep 3, 2018
Closed
Ok, this should all work now — files have their filenames decoded before they're written during |
Confirmed fix. Thank you! |
Sign up for free
to subscribe to this conversation on GitHub.
Already have an account?
Sign in.
Using the sample app, if I create a blog post with the slug
unïcode-test
then it currently 404s for that page. If I change[slug].json.js
to url decode the slug then it works okay.However the output for the files is inconsistent, the JSON is url encoded and the HTML isn't.
Tested using Sapper 0.15.6, node v8.1.4
The text was updated successfully, but these errors were encountered: