-
-
Notifications
You must be signed in to change notification settings - Fork 38
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Fix #449: edge case in normalize_link.
src/tools.cpp: When the iterator points to '%', we need to check that there are 2 valid characters before the null terminator. Since string::end() points to the null terminator of the underlying c-string: ['%','A','B','\0'] ^ p:0 1 2 3 p+2: ^ test/tools-test.cpp: * Change expect to assert now that all tests are passing
- Loading branch information
1 parent
28ac2bc
commit 506c2b4
Showing
2 changed files
with
5 additions
and
3 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