prawnsalad / KiwiIRC

This is **DEPRECATED**! Please go to https://github.com/kiwiirc/kiwiirc
https://kiwiirc.com
GNU Affero General Public License v3.0
890 stars 278 forks source link

Add support for unicode characters in URLs #811

Closed marcingajda closed 8 years ago

marcingajda commented 8 years ago

I added handling for unicode characters in URL regexp, so links like http://śćółź-żć.śąę.pl/śćó.łźżćśąę?śćółź=żćśąę#śćółźżćśąę are also clickable.

Solution based on this answer: http://stackoverflow.com/a/1073545