Skip to content
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 createURL #1971

Merged
merged 2 commits into from
Jun 6, 2022
Merged

Fix createURL #1971

merged 2 commits into from
Jun 6, 2022

Conversation

jisqyv
Copy link
Contributor

@jisqyv jisqyv commented Jun 5, 2022

The Javascript URL object takes a second argument which is the base to
use for the URL. However it only accepts the "root" of the base. So
arguments such as http://localhost/example get silently turned into
http://localhost/

This change places the baseURL within the path element, after making
sure that it ends with a slash (/).

The Javascript URL object takes a second argument which is the base to
use for the URL. However it only accepts the "root" of the base. So
arguments such as http://localhost/example get silently turned into
http://localhost/

This change places the baseURL within the path element, after making
sure that it ends with a slash (/).
@jisqyv jisqyv requested a review from o1egl as a code owner June 5, 2022 20:01
@jisqyv
Copy link
Contributor Author

jisqyv commented Jun 5, 2022

Fixes #1970

@o1egl o1egl merged commit 1e7d3b2 into filebrowser:master Jun 6, 2022
langren1353 pushed a commit to langren1353/filebrowser-player that referenced this pull request Aug 29, 2022
langren1353 pushed a commit to langren1353/filebrowser-player that referenced this pull request Aug 29, 2022
rahul-r pushed a commit to rahul-r/filebrowser that referenced this pull request Sep 2, 2022
Shada pushed a commit to Shada/filebrowser that referenced this pull request Feb 22, 2023
Shada pushed a commit to Shada/filebrowser that referenced this pull request Apr 10, 2023
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.

None yet

2 participants