2011-11-03 62 views
-2

爲什麼這個參數沒有通過:編碼字符串並將其作爲url參數發送?

file.php?t=%26quot%3B%26gt%3B%0A%09%09%09%26lt 

相反,它提供了:

Forbidden 

You don't have permission to access /file.php on this server. 

Additionally, a 404 Not Found error was encountered while trying to use an 
ErrorDocument to handle the request. 

如果你刪除的任何字符它傳遞OK。 參數中的字符串是在jquery中生成的。 如何編碼這個字符串,並使其工作?

編輯:這是由託管服務提供商設置的mod_security阻止。

回答

0

可能是您的託管服務提供商的服務器配置設置 - 將該字符串作爲$_GET參數傳遞給我。

+0

謝謝,它可能是。我不知道爲什麼缺點問題? – Nemi

相關問題