Ignore:
File:
1 edited

Legend:

Unmodified
Added
Removed
  • util.c

    r2a6ca4f rdd8d4c5  
    3636#include <stdlib.h>
    3737#include <string.h>
     38#include <ctype.h>
    3839#include <glib.h>
    3940#include <time.h>
     
    377378        for( i = j = 0; t[i]; i ++, j ++ )
    378379        {
    379                 if( t[i] <= ' ' || ((unsigned char *)t)[i] >= 128 || t[i] == '%' )
     380                /* if( t[i] <= ' ' || ((unsigned char *)t)[i] >= 128 || t[i] == '%' ) */
     381                if( !isalnum( t[i] ) )
    380382                {
    381383                        sprintf( s + j, "%%%02X", ((unsigned char*)t)[i] );
Note: See TracChangeset for help on using the changeset viewer.