Changeset bb09b3c for lib/misc.c


Ignore:
Timestamp:
2010-06-03T21:13:57Z (14 years ago)
Author:
Sven Moritz Hallberg <pesco@…>
Branches:
master
Children:
1dd3470
Parents:
a6b2f13 (diff), df1ae622 (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.
Message:

merge in bitlbee 1.2.7

File:
1 edited

Legend:

Unmodified
Added
Removed
  • lib/misc.c

    ra6b2f13 rbb09b3c  
    316316        for( i = j = 0; t[i]; i ++, j ++ )
    317317        {
    318                 /* if( t[i] <= ' ' || ((unsigned char *)t)[i] >= 128 || t[i] == '%' ) */
    319                 if( !isalnum( t[i] ) )
     318                if( !isalnum( t[i] ) && !strchr( "._-~", t[i] ) )
    320319                {
    321320                        sprintf( s + j, "%%%02X", ((unsigned char*)t)[i] );
Note: See TracChangeset for help on using the changeset viewer.