-
Notifications
You must be signed in to change notification settings - Fork 8k
Fixed #74892 - Fixed URL rewriting for urls started with # #2624
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
Conversation
|
Thanks so much - that was really quick. |
|
Just curious - I would have checked the length of |
|
@csev the whole condition is |
ext/standard/url_scanner_ex.re
Outdated
| smart_str_append_smart_str(dest, url); | ||
| php_url_free(url_parts); | ||
| return; | ||
| } |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
nit: incorrect indentation
|
Did not try, but |
|
@nikic what is the expected output for this case? |
|
It should be |
|
@nikic exactly! thanks, I've just updated my PR according to comments |
|
I'm going to assign it to nikita and ask that he merge it if he's happy with it ... he's touched and or reviewed this code recently if my memory serves me correct (which it may not) ... |
|
Merged as 6c32d27, thanks! |
Fix for https://bugs.php.net/bug.php?id=74892