-
Notifications
You must be signed in to change notification settings - Fork 11
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
Fix/file path url encoding #178
Conversation
✅ Deploy Preview for cn-devtools-website ready!
To edit notification comments on pull requests, go to your Netlify site configuration. |
✅ Deploy Preview for cn-devtools-app ready!
To edit notification comments on pull requests, go to your Netlify site configuration. |
690afbf
to
d7b6589
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Code is perfect and works.
I only had a small nib on the comment for this solution to be fool-proof.
Feel free to change the wording however you see fit though.
Co-authored-by: AtilaFassina for CrabNebula <[email protected]>
This fixes the lingering bug from here:
https://linear.app/crabnebula/issue/DT-53/sources-tab-shoud-be-able-to-handle-file-names-containing-
The implementation of escaping
.
was not quite right yet. Since there is no proper way to escape them, I simply "invented" the escape code%DDD
to replace the dots.(Strictly speaking there is the code
%2E
for.
the problem with that one is, that solid router just changes it back to a.
and Chrome for example also acts weird with it)Added some URL encoding as well to make sure the rest does not break the URL.
I also noticed that accessing nested files was broken in the previous implementation. As a side effect that is fixed as well.
Furthermore the Unknown View was not properly showing for types that were not in our list at all. A fix for that is included.
Resolves DT-53