I'd like to update, or at a minimum, add an option for rawurlencode to
output rfc3986 conforming data.
It basically boils down to just also not encoding the "~" character.
Most of the new technologies doing encoding require this and its
becoming a pita to write exception code for that one character.
Personally I think the function should just be updated for 3986
compliance rather than adding any parameter flags.
simple change in url.c
- (str[y] > 'z')) {
+ (str[y] > 'z' && str[y] != '~')) {
possibly updating urlencode as well to keep them working similarly
Rob
--
PHP Internals - PHP Runtime Development Mailing List
To unsubscribe, visit: http://www.php.net/unsub.php