From 925065b1fed03710cef9018c2078b95b0fa425ad Mon Sep 17 00:00:00 2001 From: Andrew Dolgov Date: Mon, 4 Mar 2019 07:02:58 +0300 Subject: Revert "login: only allow relative URLs in return=" This reverts commit c68ac04020d85a296c784de18f8def3f365f9f6a. --- include/functions.php | 6 ------ 1 file changed, 6 deletions(-) (limited to 'include/functions.php') diff --git a/include/functions.php b/include/functions.php index 7f00f2f04..8c0654f3c 100755 --- a/include/functions.php +++ b/include/functions.php @@ -2562,9 +2562,3 @@ return $ts; } - - function is_absolute_url($url) { - $parts = parse_url($url); - - return $parts['host'] != ''; - } -- cgit v1.2.3-54-g00ecf