Christoph M. Becker
d7db5701a3
Fix #73630 : Built-in Weberver - overwrite $_SERVER['request_uri']
...
The built-in Webserver's `on_path`, `on_query_string` and `on_url`
callbacks may be called multiple times from the parser; we must not
simply replace the old values, but need to concatenate the new values
instead.
This appears to be tricky for `on_path` due to the path normalization,
so we fail if the function is called again.
The built-in Webserver logs errors during request parsing to stderr,
but this is ignored by the php_cli_server framework, and apparently the
Webserver does not send a resonse at all in such cases (instead of an
4xx). Thus we can only check that a request with an overly long path
fails.
Closes GH-7207.
2021-06-30 16:13:08 +02:00
..
2019-02-08 23:14:29 +01:00
2018-10-14 12:07:20 -03:00
2018-10-14 19:45:12 +02:00
2018-10-14 19:45:12 +02:00
2018-10-14 19:45:12 +02:00
2018-10-14 19:45:12 +02:00
2019-01-14 09:19:30 +01:00
2019-05-29 17:02:36 +02:00
2019-03-15 22:55:30 +01:00
2019-03-15 22:55:30 +01:00
2018-10-14 19:45:12 +02:00
2019-03-15 22:55:30 +01:00
2018-10-14 19:46:15 +02:00
2019-03-15 22:55:30 +01:00
2018-02-20 21:53:48 +01:00
2018-10-14 19:45:12 +02:00
2019-03-15 22:55:30 +01:00
2019-03-15 22:55:30 +01:00
2020-01-27 13:32:19 +01:00
2018-10-14 19:46:15 +02:00
2018-10-14 19:46:15 +02:00
2018-10-14 19:46:15 +02:00
2018-10-14 19:46:15 +02:00
2018-10-15 04:33:09 +02:00
2018-10-14 19:45:12 +02:00
2019-03-15 22:55:30 +01:00
2018-02-20 21:53:48 +01:00
2019-03-15 22:55:30 +01:00
2019-03-15 22:55:30 +01:00
2020-04-08 17:10:20 +02:00
2020-04-08 17:10:20 +02:00
2020-04-08 17:10:20 +02:00
2016-04-15 11:57:53 +08:00
2018-02-20 21:53:48 +01:00
2015-06-27 14:28:33 +02:00
2020-04-08 17:10:20 +02:00
2020-04-08 17:10:20 +02:00
2020-04-08 17:10:20 +02:00
2020-04-08 17:10:20 +02:00
2019-08-30 11:02:30 +02:00
2020-04-08 17:10:20 +02:00
2020-04-08 17:10:20 +02:00
2020-04-08 17:10:20 +02:00
2020-04-08 17:10:20 +02:00
2015-03-03 11:43:23 +08:00
2018-10-15 04:33:09 +02:00
2015-09-05 14:34:08 +02:00
2020-04-08 17:10:20 +02:00
2016-03-03 19:22:38 +01:00
2016-03-03 19:22:38 +01:00
2015-07-07 19:21:02 +08:00
2015-08-14 17:05:31 +02:00
2020-04-08 17:10:20 +02:00
2020-04-08 17:10:20 +02:00
2019-03-15 22:55:30 +01:00
2021-06-30 16:13:08 +02:00
2021-06-30 16:13:08 +02:00
2018-02-20 21:53:48 +01:00
2020-01-27 13:32:19 +01:00
2019-06-14 12:55:00 +02:00
2020-08-05 18:18:18 +02:00
2018-02-20 21:53:48 +01:00
2019-06-14 12:55:00 +02:00
2019-02-20 11:20:40 +01:00
2020-04-08 17:10:20 +02:00
2018-10-14 19:45:12 +02:00
2018-10-14 19:45:12 +02:00
2018-10-14 19:45:12 +02:00
2020-04-08 17:10:20 +02:00
2020-04-08 17:10:20 +02:00
2020-04-08 17:10:20 +02:00
2020-04-08 17:10:20 +02:00
2020-04-08 17:10:20 +02:00
2020-04-08 17:10:20 +02:00
2020-04-08 17:10:20 +02:00
2020-04-08 17:10:20 +02:00
2020-04-08 17:10:20 +02:00
2020-04-08 17:10:20 +02:00
2020-04-08 17:10:20 +02:00
2020-04-08 17:10:20 +02:00
2020-04-08 17:10:20 +02:00
2020-04-08 17:10:20 +02:00
2020-04-08 17:10:20 +02:00
2020-04-08 17:10:20 +02:00
2021-04-23 15:54:17 +02:00
2020-04-08 17:10:20 +02:00
2020-07-29 12:46:14 +02:00
2019-09-05 18:29:15 +02:00
2020-04-08 17:10:20 +02:00