-
Notifications
You must be signed in to change notification settings - Fork 3
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
fix: automatically convert base_url from file url
The base url for prepend_url had undefined behavior if the url pointed to a file (e.g., did not end with a /). Now this is detected and will be converted. `http://www.domain.com/path/to` -> `http://www.domain.com/path/to/` This was necessary so the appended url would be added to the path. `http://www.domain.com/path/to/` + `new_path` -> `http://www.domain.com/path/to/new_path` instead of `http://www.domain.com/path/tonew_path alandtse/alexa_media_player#2111
- Loading branch information
Showing
2 changed files
with
40 additions
and
33 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters