Changeset 23784065 for lib/misc.c
- Timestamp:
- 2010-04-28T07:44:45Z (14 years ago)
- Branches:
- master
- Children:
- a7c6d0e
- Parents:
- f1b7711 (diff), 3f668e47 (diff)
Note: this is a merge changeset, the changes displayed below correspond to the merge itself.
Use the(diff)
links above to see all the changes relative to each parent. - File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
lib/misc.c
rf1b7711 r23784065 306 306 for( i = j = 0; t[i]; i ++, j ++ ) 307 307 { 308 /* if( t[i] <= ' ' || ((unsigned char *)t)[i] >= 128 || t[i] == '%' ) */ 309 if( !isalnum( t[i] ) ) 308 if( !isalnum( t[i] ) && !strchr( "._-~", t[i] ) ) 310 309 { 311 310 sprintf( s + j, "%%%02X", ((unsigned char*)t)[i] );
Note: See TracChangeset
for help on using the changeset viewer.