Index: src/file.c ================================================================== --- src/file.c +++ src/file.c @@ -487,11 +487,10 @@ ** a file in a repository. Valid filenames follow all of the ** following rules: ** ** * Does not begin with "/" ** * Does not contain any path element named "." or ".." -** * Does not contain any of these characters in the path: "\" ** * Does not end with "/". ** * Does not contain two or more "/" characters in a row. ** * Contains at least one character ** ** Invalid UTF8 characters result in a false return if bStrictUtf8 is @@ -551,12 +550,10 @@ if( (z[++i]&0xc0)!=0x80 ){ /* Invalid second continuation byte */ return 0; } } - }else if( bStrictUtf8 && (c=='\\') ){ - return 0; } if( c=='/' ){ if( z[i+1]=='/' ) return 0; if( z[i+1]=='.' ){ if( z[i+2]=='/' || z[i+2]==0 ) return 0;