diff options
Diffstat (limited to 'public')
| -rw-r--r-- | public/bookmarks/read/index.php | 2 | 
1 files changed, 1 insertions, 1 deletions
diff --git a/public/bookmarks/read/index.php b/public/bookmarks/read/index.php index e7af97f..6a4a216 100644 --- a/public/bookmarks/read/index.php +++ b/public/bookmarks/read/index.php @@ -10,7 +10,7 @@ if ('GET' !== filter_input(INPUT_SERVER, 'REQUEST_METHOD')) {      respondAndExit(405, 'Method Not Allowed');  } -$requestedUrl = filter_input(INPUT_GET, 'url'); +$requestedUrl = filter_input(INPUT_GET, 'url', FILTER_VALIDATE_URL);  if (!$requestedUrl || strlen($requestedUrl) > $config['max_url_length']) {      respondAndExit(400, 'Bad Request');  | 
