0 Members and 1 Guest are viewing this topic.
curl.exe -v -u user:password "http://localhost:280/data/Battlespaces/?mode=section&id=ajax.mkdir" --data "name=안녕"
<meta http-equiv="content-type" content="text/html; charset=UTF-8" />
[ajax.mkdir|no log]{.check session.}{.set|x|{.postvar|name.}.}{.add to log|"Test:{.^x.}".}{.break|if={.pos|\|var=x.}{.pos|/|var=x.}|result=forbidden.}{.break|if={.not|{.can mkdir.}.}|result=not authorized.}{.set|x|{.force ansi|%folder%{.^x.}.}.}
Test:??
curl.exe -v -u user:password "http://localhost:280/data/Battlespaces/?mode=section&id=ajax.mkdir" --data "name=안녕22"
curl.exe -v -u user:password "http://localhost:280/data/Battlespaces/?mode=section&id=ajax.mkdir" --data "name=안녕22" -H "Content-type: text/plain; charset=utf-8"
[ajax.mkdir|no log]{.check session.}{.set|x|{.postvar|name.}.}{.add to log|"Test:{.^x.}".}
curl.exe -v -u user:password "http://localhost:280/data/Blah/?mode=section&id=ajax.mkdir" --data "name=안녕22"
curl.exe -v -u user:password "http://localhost:280/data/Blah/?mode=section&id=ajax.mkdir" --data "name=안녕22" -H "Content-type: text/plain; charset=utf-8"
curl.exe -v -u user:password "http://localhost:280/data/Blah/?mode=section&id=ajax.mkdir" --data "name=안녕22" -H "Content-type: application/x-www-form-urlencoded; charset=utf-8"
curl.exe -v -u user:password "http://localhost:280/data/Blah/?mode=section&id=ajax.mkdir" --data-urlencode "name=안녕22" -H "Content-type: application/x-www-form-urlencoded; charset=utf-8"
curl.exe -v -u user:password "http://localhost:280/data/Blah/?mode=section&id=ajax.mkdir" --data "name=안녕22" -H "Content-type: application/x-www-form-urlencoded; charset=utf-8" --trace -