Changeset aabe5a87dc13e08dc70b6814116ce723263a8969

Show
Ignore:
Timestamp:
12/08/05 21:44:52 (3 years ago)
Author:
Rémi Denis-Courmont <rem@videolan.org>
git-committer:
Rémi Denis-Courmont <rem@videolan.org> 1123875892 +0000
git-parent:

[3b16a551afc5b31cf8fe829154635dda46cf7aaf]

git-author:
Rémi Denis-Courmont <rem@videolan.org> 1123875892 +0000
Message:

Don't URL encode ./:[] because they are to be found in URLs...
closes #311

Files:

Legend:

Unmodified
Added
Removed
Modified
Copied
Moved
  • include/network.h

    ra3053eb raabe5a8  
    219219        || ( (unsigned char)( c - 'A' ) < 26 ) 
    220220        || ( (unsigned char)( c - '0' ) < 10 ) 
    221         || ( strchr( "-_.", c ) != NULL ); 
     221        /* Hmm, we should not encode character that are allowed in URLs 
     222         * (even if they are not URL-safe), nor URL-safe characters. 
     223         * We still encode some of them because of Microsoft's crap browser. 
     224         */ 
     225        || ( strchr( "/:.[]-_.", c ) != NULL ); 
    222226} 
    223227