URL正在被Phantom JS 2.1.1
解码,这导致signature
失败并获得forbidden
error
。
正在执行command
,如下所示:
phantomjs --ignore-ssl-errors=true --debug=yes rasterize.js http://example.com/?signature="%3CMSG%2B6%2BSigDat%23VER%2B5%2B3%2E0%2E1%23SYS%2B3%2BFAK%23CID%2B20%2B5f9f92bdd0633e59706b%23TIM%2B10%2B1915528386%23DAT%2B89%2Bhttps%3A%2F%2Fetest%2Ecom%2Eno%2Fbill%2Fbill%2F456254475%2F6476882648%2test%2Ehtml%3FbillType%3Dcom%23P7S%2B352%2B"
但是在apache中,服务器日志URL如下所示:这就是%2E
和DOT
(.
)一起解码的结果。
http://example.com/?signature="%3CMSG%2B6%2BSigDat%23VER%2B5%2B3.0.1%23SYS%2B3%2BFAK%23CID%2B20%2B5f9f92bdd0633e59706b%23TIM%2B10%2B1915528386%23DAT%2B89%2Bhttps%3A%2F%2Fetest.com.no%2Fbill%2Fbill%2F456254475%2F6476882648%2test.html%3FbillType%3Dcom%23P7S%2B352%2B
我尝试从另一台计算机上使用Phanotm JS 1.8.1
,但是URL
并没有改变,一切都按预期进行。但是我必须从1.8.1
迁移到2.1.1
,以使它不再能够使用1.8.1 Phantom JS
。任何帮助将不胜感激!