Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
improve Mojo::URL performance significantly
- Loading branch information
Showing
2 changed files
with
17 additions
and
6 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
@kraih just FYI that something about this change broke existing code of mine; I had been using:
return Mojo::Util::url_escape(@_, '^A-Za-z0-9\-._~\/\?\=');
...but after this change, I had to un-escape the last three characters to avoid errors about unmatched
[
and undefined objects:return Mojo::Util::url_escape(@_, '^A-Za-z0-9\-._~/?=');