Welcome Guest, Not a member yet? Register   Sign In
_clean_input_keys() does not follow RFC2109
#4

[eluser]Derek Allard[/eluser]
This has come up recently. In response the input library now contains.
Code:
// Clean $_COOKIE Data
        // Also get rid of specially treated cookies that might be set by a server
        // or silly application, that are of no use to a CI application anyway
        // but that when present will trip our 'Disallowed Key Characters' alarm
        // http://www.ietf.org/rfc/rfc2109.txt
        // note that the key names below are single quoted strings, and are not PHP variables
        unset($_COOKIE['$Version']);
        unset($_COOKIE['$Path']);
        unset($_COOKIE['$Domain']);
        $_COOKIE = $this->_clean_input_data($_COOKIE);


Messages In This Thread
_clean_input_keys() does not follow RFC2109 - by El Forum - 10-16-2008, 09:44 PM
_clean_input_keys() does not follow RFC2109 - by El Forum - 10-17-2008, 05:37 AM
_clean_input_keys() does not follow RFC2109 - by El Forum - 10-17-2008, 06:28 AM
_clean_input_keys() does not follow RFC2109 - by El Forum - 10-17-2008, 06:33 AM
_clean_input_keys() does not follow RFC2109 - by El Forum - 10-17-2008, 06:34 AM



Theme © iAndrew 2016 - Forum software by © MyBB