HackerOne users: Testing against this community violates our program's Terms of Service and will result in your bounty being denied.

Code review request: Gdn_Format::Url regex

LincLinc Detroit Admin

I refactored the Url method, which is pretty core to the system. I found a lot of problems in it, especially weirdly over-expressive regex and a lot of duplicated code. If anyone who feels good about regex wants to have a look to make sure I didn't commit a grievous error I'd appreciate it. I'm especially interested in testing for my rewritten $UnicodeSupport test.


Sign In or Register to comment.