]> CyberLeo.Net >> Repos - Github/YOURLS.git/commit
Tune regexp parsing. Fixes #2155
authorozh <ozh@ozh.org>
Sun, 2 Apr 2017 16:29:31 +0000 (18:29 +0200)
committerozh <ozh@ozh.org>
Sun, 2 Apr 2017 16:29:31 +0000 (18:29 +0200)
commitd2f7f84041f6d37a52c424b1b495d81ed446295f
treedc8eb7e716c28371d22425a072707abf14be428e
parent5a95b54ebc69a9e765a2d62cca62be8360b3f536
Tune regexp parsing. Fixes #2155

We make a regexp from the charset, and used to specify that `-` was to be escaped but this has been fixed in PHP 5.2
We now escape `@`, which is also used as the regexp delimiter in yourls-loader.php, so now `@` can also be used in short URL charset
includes/functions.php