mirror of
https://gitlab.archlinux.org/archlinux/aurweb.git
synced 2025-02-03 10:43:03 +01:00
When using preg_match() to check for a match that starts at the beginning of the string and ends at the last character of the string, we do not want to allow an additional newline character to sneak in. Amongst other potential loopholes, adding the PCRE_DOLLAR_ENDONLY modifier prevents users from registering with user names that end with a newline character. Signed-off-by: Lukas Fleischer <archlinux@cryptocrack.de> |
||
---|---|---|
.. | ||
Archive | ||
acctfuncs.inc.php | ||
aur.inc.php | ||
aurjson.class.php | ||
cachefuncs.inc.php | ||
config.inc.php.proto | ||
credentials.inc.php | ||
DB.class.php | ||
feedcreator.class.php | ||
gettext.php | ||
pkgbasefuncs.inc.php | ||
pkgfuncs.inc.php | ||
pkgreqfuncs.inc.php | ||
routing.inc.php | ||
stats.inc.php | ||
streams.php | ||
translator.inc.php | ||
version.inc.php |