-
Notifications
You must be signed in to change notification settings - Fork 36
urldecode fix and path mapping (for docker/devilbox) #19
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
base: master
Are you sure you want to change the base?
Conversation
added in server path replacement for docker/devilbox
find="/shared/httpd/" | ||
replace="/home/michael/public_html/"; |
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.
Isn't the path mapping something, that should be handled on the application side, that builds the links?
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.
possibly and some apps might already have this. the software i usually develop in for web applications, doesn't have it, so i added it for my own use, but decided to keep it for this PR in case anyone else needed it.
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.
I see. Maybe you can also make a note in the README.md so that the user is aware of such functionality.
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.
added.
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.
I'm not too keen on putting those hard coded variables into the executable.
Might be doable via environment variables, though.
README.md
Outdated
find="/shared/httpd/" | ||
replace="/home/michael/public_html/"; |
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.
Both of these lines show on the single line after README is rendered. This is how you planned this to be?
@codingjungle , I've approved my review. Let's see what @sanduhrs will think about this. |
Could this be merged and released maybe? I really miss the url encode to let it work locally now |
A fix for the urlencoding has been committed e46793a |
Nice! With the latest aur release it all works again! Thanks a lot! |
the link in linux gets url encoded, this will decode it and allow it to work.
also has a path mapping, so you can replace a docker/devilbox path to map to the location on your drive.