113498266Sopenharmony_ci<testcase> 213498266Sopenharmony_ci# Test that no fragment is not send as part of the path 313498266Sopenharmony_ci# when the URI contains 2 '#' (does not follow RFC 2396) 413498266Sopenharmony_ci<info> 513498266Sopenharmony_ci<keywords> 613498266Sopenharmony_ciHTTP 713498266Sopenharmony_ciCURLOPT_URL 813498266Sopenharmony_ci</keywords> 913498266Sopenharmony_ci</info> 1013498266Sopenharmony_ci 1113498266Sopenharmony_ci# Server-side 1213498266Sopenharmony_ci<reply> 1313498266Sopenharmony_ci<data> 1413498266Sopenharmony_ciHTTP/1.1 200 OK 1513498266Sopenharmony_ciContent-Length: 6 1613498266Sopenharmony_ci 1713498266Sopenharmony_cihello 1813498266Sopenharmony_ci</data> 1913498266Sopenharmony_ci</reply> 2013498266Sopenharmony_ci 2113498266Sopenharmony_ci# Client-side 2213498266Sopenharmony_ci<client> 2313498266Sopenharmony_ci<server> 2413498266Sopenharmony_cihttp 2513498266Sopenharmony_ci</server> 2613498266Sopenharmony_ci<name> 2713498266Sopenharmony_ciHTTP GET with URL whose fragment contains a # (which is illegal) 2813498266Sopenharmony_ci</name> 2913498266Sopenharmony_ci<command> 3013498266Sopenharmony_cihttp://%HOSTIP:%HTTPPORT/%TESTNUMBER?q=foobar#fragment#fragment2 3113498266Sopenharmony_ci</command> 3213498266Sopenharmony_ci</client> 3313498266Sopenharmony_ci 3413498266Sopenharmony_ci 3513498266Sopenharmony_ci# Verify data after the test has been "shot" 3613498266Sopenharmony_ci<verify> 3713498266Sopenharmony_ci<protocol> 3813498266Sopenharmony_ciGET /%TESTNUMBER?q=foobar HTTP/1.1 3913498266Sopenharmony_ciHost: %HOSTIP:%HTTPPORT 4013498266Sopenharmony_ciUser-Agent: curl/%VERSION 4113498266Sopenharmony_ciAccept: */* 4213498266Sopenharmony_ci 4313498266Sopenharmony_ci</protocol> 4413498266Sopenharmony_ci</verify> 4513498266Sopenharmony_ci</testcase> 46