Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Bugfix for #102 -- "5.11 breaks HTML::FormatExternal"
Test case added. Skipping attempt to unescape empty authority part. See: #102 The previous fix checked the result of the regex-match. However, the regex-match could have avoided the situation in the first place. The new regex now asks for a non-zero authority part. Skip IPv6 handling of schemes that do not have an authority part. Currently: data, file, ldapi, urn, sqlite, sqlite3 Fix: Fallback to pre 5.11 for specific schemes (i.e. 'mailto:'). Short test cases added for 'mailto:' URIs having address literals (IPv4 and IPv6). Modernized t/file.t to use Test::More instead of plain TAP. In preparation of more future tests. Tests added to show that domain in file:// is properly escaped.
- Loading branch information
Showing
4 changed files
with
139 additions
and
58 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
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