|
Lucas Meadows
AutoFormat.Linkify does now allow parentheses in url pathApril 30, 2012 03:26PM |
I'm having an issue with AutoFormat.Linkify mangling urls that contain parentheses.
My understanding is that the following url is valid: http://en.wikipedia.org/wiki/Comet_(programming)
You can see on the HTMLPurifier AutoFormat live demo that the linking behavior does not capture the entire url (it only captures the url up to the opening of the parenthesis).
Is this expected behavior? Is there something I can do to whitelist parens in the path of an url without sacrificing the security benefits of HTMLPurifier?
Here's the live demo link:
|
Re: AutoFormat.Linkify does now allow parentheses in url path April 30, 2012 03:30PM |
Admin Registered: 6 years ago Posts: 2,636 |
Yes, it's intentional, and intended to handle cases like this: (http://google.com). There's no knob to fix it but I imagine tweaking the code wouldn't be too difficult.
|
Lucas Meadows
Re: AutoFormat.Linkify does now allow parentheses in url pathMay 07, 2012 10:47PM |
|
Lucas Meadows
Re: AutoFormat.Linkify does now allow parentheses in url pathMay 07, 2012 10:49PM |
|
Re: AutoFormat.Linkify does now allow parentheses in url path May 08, 2012 11:58AM |
Admin Registered: 6 years ago Posts: 2,636 |