mirror of
https://gitlab.gnome.org/GNOME/glib.git
synced 2025-08-02 07:23:41 +02:00
Get rid of UNSAFE_DOS_PATH. (acceptable): Align with RFC2396. (#59653)
2003-03-30 Matthias Clasen <maclas@gmx.de> * glib/gconvert.c (UnsafeCharacterSet): Get rid of UNSAFE_DOS_PATH. (acceptable): Align with RFC2396. (#59653) * tests/uri-test.c: Adjust to the changes above.
This commit is contained in:
committed by
Matthias Clasen
parent
46ae53a931
commit
306d5e2b6b
@@ -86,12 +86,12 @@ to_uri_tests[] = {
|
||||
/* On Unix, '\\' is a normal character in the file name */
|
||||
{ "/\"#%<>[\\]^`{|}\x7F", NULL, "file:///%22%23%25%3C%3E%5B%5C%5D%5E%60%7B%7C%7D%7F"},
|
||||
#endif
|
||||
{ "/;@+$,", NULL, "file:///%3B%40%2B%24%2C"},
|
||||
{ "/;@+$,", NULL, "file:///%3B@+$,"},
|
||||
/* This and some of the following are of course as such illegal file names on Windows,
|
||||
* and would not occur in real life.
|
||||
*/
|
||||
{ "/:", NULL, "file:///:"},
|
||||
{ "/?&=", NULL, "file:///?&="}, /* these are not escaped and other reserved characters are -- is that really what we want? */
|
||||
{ "/?&=", NULL, "file:///%3F&="},
|
||||
{ "/", "0123456789-", NULL, G_CONVERT_ERROR_ILLEGAL_SEQUENCE},
|
||||
{ "/", "ABCDEFGHIJKLMNOPQRSTUVWXYZ", "file://ABCDEFGHIJKLMNOPQRSTUVWXYZ/"},
|
||||
{ "/", "abcdefghijklmnopqrstuvwxyz", "file://abcdefghijklmnopqrstuvwxyz/"},
|
||||
|
Reference in New Issue
Block a user