diff options
author | Sascha Volkenandt <sascha (at) akv-soft (dot) de> | 2007-05-31 14:42:36 +0000 |
---|---|---|
committer | Sascha Volkenandt <sascha (at) akv-soft (dot) de> | 2007-05-31 14:42:36 +0000 |
commit | 9a1f80da1ac3511c512cf258cff5fd13b27c95ea (patch) | |
tree | bb6c142c8a83bd46be58acc821cfd05121df86d9 /tools.cpp | |
parent | 8cf9e58d0aa6f6395e3353126ce684f3923b4d23 (diff) | |
download | vdr-plugin-live-9a1f80da1ac3511c512cf258cff5fd13b27c95ea.tar.gz vdr-plugin-live-9a1f80da1ac3511c512cf258cff5fd13b27c95ea.tar.bz2 |
- corrected urlescaping of chars > 127
Diffstat (limited to 'tools.cpp')
-rw-r--r-- | tools.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -217,7 +217,7 @@ struct urlencoder if ( ch == ' ' ) ostr_ << '+'; else if ( static_cast< signed char >( ch ) < 0 || allowedChars[ size_t( ch ) ] == '_' ) - ostr_ << '%' << setw( 2 ) << setfill( '0' ) << hex << int( ch ); + ostr_ << '%' << setw( 2 ) << setfill( '0' ) << hex << int( static_cast< unsigned char >( ch ) ); else ostr_ << ch; } |