Invalid URL with cyrillic path
RomanTruba opened this issue · comments
Roman Truba commented
Example of URL: http://juju.su/news/22/конец-пиратству/
Parsing result: http://juju.su/news/22/
Possible fix:
#define TWUValidGeneralURLPathChars @"[a-zA-Z0-9!\\*';:=+,.$/%#\\[\\]\\-_~&|@" TWULatinAccents TWUCyrillicHashtagChars @"]"
#define TWUValidURLPathEndingChars @"[a-zA-Z0-9=_#/+\\-" TWULatinAccents TWUCyrillicHashtagChars @"]|(?:" TWUValidURLBalancedParens @")"