Only allow valid HTTP(s) URLs as home page
commit4efba18f8688431fae58ae1b826b80f95957aec8
authorLukas Fleischer <lfleischer@archlinux.org>
Sun, 5 Nov 2017 07:48:25 +0000 (5 08:48 +0100)
committerLukas Fleischer <lfleischer@archlinux.org>
Sun, 5 Nov 2017 07:55:24 +0000 (5 08:55 +0100)
treeec3d330eaec591c08fa0431c81b93c99ed357128
parentc859e371b0b94bb7ac2db7f7dfaf742a4a1fc6d9
Only allow valid HTTP(s) URLs as home page

The home page specified in the account settings is converted to a
clickable link on the user's profile. Make sure it is a valid URL which
uses the http or https scheme.

Signed-off-by: Lukas Fleischer <lfleischer@archlinux.org>
web/lib/acctfuncs.inc.php
web/lib/aur.inc.php