Closed codeyoma closed 1 year ago
uri 파서 완료!
request_uri :/upload/blah/%00somepath/adder?arsiotenrstn#rsiten
resolved_request_uri :/upload/blah/somepath/adder
script_name :/upload/blah/somepath/adder
script_filename :/test/resolvedAtest/blah/somepath/adder
path_info :
path_translated :
query_string :arsiotenrstn
fragment :
request_uri :/upload/blah.cgi/%00somepath/adder?arsiotenrstn#rsiten
is_cgi_ :ON
resolved_request_uri :/upload/blah.cgi/somepath/adder
script_name :/upload/blah.cgi
script_filename :/test/resolvedAtest/blah.cgi
path_info :/somepath/adder
path_translated :/test/resolvedAtest/somepath/adder
query_string :arsiotenrstn
fragment :
fragment는 저장안함.
script_filename 으로 open 하면 됩니다!
내용
태스크
/Youpibane/test.cgi/foo/bar
->.cgi config 호출, /foo/bar : PATH_INFO
/foo/bar?name=blah&age=17
query = *( pchar / "/" / "?" )
/foo/bar?key=value#md5=123049817234987/tag
fragment = *( pchar / "/" / "?" )