-
Notifications
You must be signed in to change notification settings - Fork 18
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
Jumping to search results is broken when URL includes life.html instead of just life #843
Comments
The fix is to simply include periods in the regex character class (square brackets). |
Maybe we should bin the regex replacement, and feed a "ignore URL base" option to That said, I don't think |
That would not happen, since we have underscore in the character class, no? I was just trying to target the specific 'period' issue tactically with a minimal change, but if you think that a different change is best, we can do that instead. |
Yup, I'm not arguing against your fix, which is a good catch and worth applying. My point is more that the whole regex-replacement will probably bite us again in the future, and could probably be binned & replaced with a special case in |
To repro:
Nothing happens, due to the following exception:
This is caused by a bug in the "Strip /life/ from any URL" logic (
OZtree/views/treeviewer/layout.html
Line 227 in 2f51d56
The text was updated successfully, but these errors were encountered: