Skip to content

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

Open
wants to merge 4 commits into
base: master
Choose a base branch
from

Conversation

codingjungle
Copy link

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.

codingjungle and others added 2 commits February 3, 2018 02:15
added in server path replacement for docker/devilbox
Comment on lines +13 to +14
find="/shared/httpd/"
replace="/home/michael/public_html/";
Copy link

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?

Copy link
Author

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.

Copy link

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.

Copy link
Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

added.

Copy link
Owner

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
Comment on lines 29 to 30
find="/shared/httpd/"
replace="/home/michael/public_html/";
Copy link

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?

@aik099
Copy link

aik099 commented Nov 10, 2021

@codingjungle , I've approved my review. Let's see what @sanduhrs will think about this.

@hylke94
Copy link

hylke94 commented Jan 25, 2022

Could this be merged and released maybe? I really miss the url encode to let it work locally now

@sanduhrs
Copy link
Owner

sanduhrs commented Feb 8, 2022

A fix for the urlencoding has been committed e46793a

@hylke94
Copy link

hylke94 commented Feb 9, 2022

A fix for the urlencoding has been committed e46793a

Nice! With the latest aur release it all works again! Thanks a lot!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants