Home
last modified time | relevance | path

Searched hist:62 (Results 1 – 25 of 34) sorted by path

12

/unit/auto/
H A Dsourcesdiff 62:5e1efcc7b740 Wed Jun 14 12:18:00 UTC 2017 Igor Sysoev <igor@sysoev.ru> nxt_event_conn_... functions and structures have been renamed
to nxt_conn_...
/unit/src/
H A Dnxt_application.cdiff 62:5e1efcc7b740 Wed Jun 14 12:18:00 UTC 2017 Igor Sysoev <igor@sysoev.ru> nxt_event_conn_... functions and structures have been renamed
to nxt_conn_...
H A Dnxt_application.hdiff 62:5e1efcc7b740 Wed Jun 14 12:18:00 UTC 2017 Igor Sysoev <igor@sysoev.ru> nxt_event_conn_... functions and structures have been renamed
to nxt_conn_...
H A Dnxt_conn.c62:5e1efcc7b740 Wed Jun 14 12:18:00 UTC 2017 Igor Sysoev <igor@sysoev.ru> nxt_event_conn_... functions and structures have been renamed
to nxt_conn_...
H A Dnxt_conn.h62:5e1efcc7b740 Wed Jun 14 12:18:00 UTC 2017 Igor Sysoev <igor@sysoev.ru> nxt_event_conn_... functions and structures have been renamed
to nxt_conn_...
H A Dnxt_conn_accept.c62:5e1efcc7b740 Wed Jun 14 12:18:00 UTC 2017 Igor Sysoev <igor@sysoev.ru> nxt_event_conn_... functions and structures have been renamed
to nxt_conn_...
H A Dnxt_conn_close.cdiff 62:5e1efcc7b740 Wed Jun 14 12:18:00 UTC 2017 Igor Sysoev <igor@sysoev.ru> nxt_event_conn_... functions and structures have been renamed
to nxt_conn_...
H A Dnxt_conn_connect.c62:5e1efcc7b740 Wed Jun 14 12:18:00 UTC 2017 Igor Sysoev <igor@sysoev.ru> nxt_event_conn_... functions and structures have been renamed
to nxt_conn_...
H A Dnxt_conn_proxy.c62:5e1efcc7b740 Wed Jun 14 12:18:00 UTC 2017 Igor Sysoev <igor@sysoev.ru> nxt_event_conn_... functions and structures have been renamed
to nxt_conn_...
H A Dnxt_conn_read.c62:5e1efcc7b740 Wed Jun 14 12:18:00 UTC 2017 Igor Sysoev <igor@sysoev.ru> nxt_event_conn_... functions and structures have been renamed
to nxt_conn_...
H A Dnxt_conn_write.c62:5e1efcc7b740 Wed Jun 14 12:18:00 UTC 2017 Igor Sysoev <igor@sysoev.ru> nxt_event_conn_... functions and structures have been renamed
to nxt_conn_...
H A Dnxt_controller.cdiff 62:5e1efcc7b740 Wed Jun 14 12:18:00 UTC 2017 Igor Sysoev <igor@sysoev.ru> nxt_event_conn_... functions and structures have been renamed
to nxt_conn_...
H A Dnxt_devpoll_engine.cdiff 62:5e1efcc7b740 Wed Jun 14 12:18:00 UTC 2017 Igor Sysoev <igor@sysoev.ru> nxt_event_conn_... functions and structures have been renamed
to nxt_conn_...
H A Dnxt_epoll_engine.cdiff 62:5e1efcc7b740 Wed Jun 14 12:18:00 UTC 2017 Igor Sysoev <igor@sysoev.ru> nxt_event_conn_... functions and structures have been renamed
to nxt_conn_...
H A Dnxt_event_conn_job_sendfile.cdiff 62:5e1efcc7b740 Wed Jun 14 12:18:00 UTC 2017 Igor Sysoev <igor@sysoev.ru> nxt_event_conn_... functions and structures have been renamed
to nxt_conn_...
H A Dnxt_event_engine.hdiff 62:5e1efcc7b740 Wed Jun 14 12:18:00 UTC 2017 Igor Sysoev <igor@sysoev.ru> nxt_event_conn_... functions and structures have been renamed
to nxt_conn_...
H A Dnxt_eventport_engine.cdiff 62:5e1efcc7b740 Wed Jun 14 12:18:00 UTC 2017 Igor Sysoev <igor@sysoev.ru> nxt_event_conn_... functions and structures have been renamed
to nxt_conn_...
H A Dnxt_file_event.h62:5e1efcc7b740 Wed Jun 14 12:18:00 UTC 2017 Igor Sysoev <igor@sysoev.ru> nxt_event_conn_... functions and structures have been renamed
to nxt_conn_...
H A Dnxt_kqueue_engine.cdiff 62:5e1efcc7b740 Wed Jun 14 12:18:00 UTC 2017 Igor Sysoev <igor@sysoev.ru> nxt_event_conn_... functions and structures have been renamed
to nxt_conn_...
H A Dnxt_listen_socket.cdiff 62:5e1efcc7b740 Wed Jun 14 12:18:00 UTC 2017 Igor Sysoev <igor@sysoev.ru> nxt_event_conn_... functions and structures have been renamed
to nxt_conn_...
H A Dnxt_macosx_sendfile.cdiff 62:5e1efcc7b740 Wed Jun 14 12:18:00 UTC 2017 Igor Sysoev <igor@sysoev.ru> nxt_event_conn_... functions and structures have been renamed
to nxt_conn_...
H A Dnxt_main.hdiff 62:5e1efcc7b740 Wed Jun 14 12:18:00 UTC 2017 Igor Sysoev <igor@sysoev.ru> nxt_event_conn_... functions and structures have been renamed
to nxt_conn_...
H A Dnxt_openssl.cdiff 62:5e1efcc7b740 Wed Jun 14 12:18:00 UTC 2017 Igor Sysoev <igor@sysoev.ru> nxt_event_conn_... functions and structures have been renamed
to nxt_conn_...
H A Dnxt_php_sapi.cdiff 2424:70afa8cb85d4 Fri Mar 31 13:01:00 UTC 2023 Andrew Clayton <a.clayton@nginx.com> PHP: Make the filter_input() function work.

On GitHub, @jamesRUS52 reported that the PHP filter_input()[0] function
would just return NULL.

To enable this function we need to run the variables through the
sapi_module.input_filter() function when we call
php_register_variable_safe().

In PHP versions prior to 7.0.0, input_filter() takes 'len' as an
unsigned int, while later versions take it as a size_t.

Now, with this commit and the following PHP

<?php

var_dump(filter_input(INPUT_SERVER, 'REMOTE_ADDR'));
var_dump(filter_input(INPUT_SERVER, 'REQUEST_URI'));
var_dump(filter_input(INPUT_GET, 'get', FILTER_SANITIZE_SPECIAL_CHARS));

?>

you get

$ curl 'http://localhost:8080/854.php?get=foo<>'
string(3) "::1"
string(18) "/854.php?get=foo<>"
string(13) "foo&#60;&#62;"

[0]: <https://www.php.net/manual/en/function.filter-input.php>

Tested-by: <https://github.com/jamesRUS52>
Closes: <https://github.com/nginx/unit/issues/854>
Reviewed-by: Alejandro Colomar <alx@nginx.com>
Signed-off-by: Andrew Clayton <a.clayton@nginx.com>
H A Dnxt_poll_engine.cdiff 62:5e1efcc7b740 Wed Jun 14 12:18:00 UTC 2017 Igor Sysoev <igor@sysoev.ru> nxt_event_conn_... functions and structures have been renamed
to nxt_conn_...

12