diff options
| author | Stefan | 2010-02-21 13:02:30 +0100 |
|---|---|---|
| committer | Stefan | 2010-02-21 13:02:30 +0100 |
| commit | 53fc7e8928ab98f2290e65fc0e61a577c8725d9f (patch) | |
| tree | b1736e872f76c780b1dbfbc4ce1fd7369e0776c8 | |
| parent | d79be08743e0e6746406718d56c0c0b15490b50e (diff) | |
Added the line ending characters 0x0a and 0x0d to the server.encode/server.strip protection
| -rw-r--r-- | Changelog | 3 | ||||
| -rw-r--r-- | ifilter.c | 2 |
2 files changed, 3 insertions, 2 deletions
| @@ -1,6 +1,7 @@ | |||
| 1 | 2010-xx-xx - 0.9.30-dev | 1 | 2010-xx-xx - 0.9.30-dev |
| 2 | 2 | ||
| 3 | - ... | 3 | - Added line ending characters %0a and %0d to the list of dangerous characters handled |
| 4 | by suhosin.server.encode and suhosin.server.strip | ||
| 4 | 5 | ||
| 5 | 2009-08-15 - 0.9.29 | 6 | 2009-08-15 - 0.9.29 |
| 6 | 7 | ||
| @@ -118,7 +118,7 @@ void normalize_varname(char *varname) | |||
| 118 | static unsigned char suhosin_hexchars[] = "0123456789ABCDEF"; | 118 | static unsigned char suhosin_hexchars[] = "0123456789ABCDEF"; |
| 119 | 119 | ||
| 120 | static const char suhosin_is_dangerous_char[256] = { | 120 | static const char suhosin_is_dangerous_char[256] = { |
| 121 | 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, | 121 | 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 1, 0, 0, 1, 0, 0, |
| 122 | 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, | 122 | 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, |
| 123 | 0, 0, 1, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, 0, | 123 | 0, 0, 1, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, 0, |
| 124 | 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 1, 0, 1, 0, | 124 | 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 1, 0, 1, 0, |
