Branch: Tag:

2012-03-09

2012-03-09 14:46:24 by Martin Nilsson <nilsson@opera.com>

Fixes to get_http_path_query()

64:   test_equal(Standards.URI("http://www.com/?a=b")->get_query_variables(),(["a":"b"]))   test_equal(Standards.URI("http://www.com/?a=b&a=b")->get_query_variables(),(["a":"b"]))   test_equal(Standards.URI("http://www.com/?a=b&c")->get_query_variables(),(["a":"b","c":0])) + test_equal(Standards.URI("http://www.com/?foo")->get_http_path_query(),"/?foo") + test_equal(Standards.URI("http://www.com/?")->get_http_path_query(),"/?") + test_equal(Standards.URI("http://www.com/")->get_http_path_query(),"/")   test_eval_error(Standards.URI("www.com"))   test_eq((string)Standards.URI("www.com","http://"),"http://www.com")   test_eq((string)Standards.URI("ftp://www.com/x?a=b#y","http://"),"ftp://www.com/x?a=b#y")