Hi Maciej

2016-12-04 7:25 GMT+01:00 Maciej Sobaczewski <[email protected]>:
> +<?php
> +  if (isset($_GET['query'])) {
> +    header('Location: user-notes.php?keyword=sect:' . $_GET['query']);
> +    exit;
> +  }

This wouldn't work as we do not have output buffering started using
ob_start() (I don't assume master runs with output_buffering directive
in php.ini customized). Also we should filter $_GET['query'] here.


-- 
regards,

Kalle Sommer Nielsen
[email protected]

-- 
PHP Webmaster List Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php

Reply via email to