我的表單裡面為什麼輸入一個引號就提交逾時,提交不上去,不是注入,是壓根submit就逾時

來源:互聯網
上載者:User
就這樣一個表單, 提交半形的單引號, 或者雙引號 ,就逾時 .
apache2.24 ,php5.3.27


回複討論(解決方案)

你的action的內容呢

不?超?啊。
只是提交到本?而已。



你用什麼瀏覽器測試的 ? 多用幾個瀏覽器試試看。

你的action的內容呢


故意沒有填寫 ,預設應該提交到本頁吧。這是我的測試網站,輸入引號提交不了:

http://www.getbook.cn/ImageEditor/4.htm?tbName=hjg

你用什麼瀏覽器測試的 ? 多用幾個瀏覽器試試看。



ie ,Google都試過,這個是測試頁面,你輸入試試,我搭建2個apache都這樣,windows2003系統,apache2.2.4

http://www.getbook.cn/ImageEditor/4.htm

php.ini 中開啟錯誤提示功能看看。
display_errors = On

改完記得重啟下Apache。

php.ini 中開啟錯誤提示功能看看。
display_errors = On

改完記得重啟下Apache。


apache 下logs目錄的 access.log
123.125.71.58 - - [01/Dec/2014:21:59:51 +0800] "GET /images/201307/goods_img/36_G_1372662894106.jpg HTTP/1.1" 200 30764
61.180.165.187 - - [01/Dec/2014:21:59:58 +0800] "GET /ImageEditor/4.htm HTTP/1.1" 304 -


error.log
[Mon Dec 01 21:59:39 2014] [notice] Apache/2.2.4 (Win32) PHP/5.3.27 configured -- resuming normal operations
[Mon Dec 01 21:59:39 2014] [notice] Server built: Jan 9 2007 23:17:20
[Mon Dec 01 21:59:39 2014] [notice] Parent: Created child process 4964
[Mon Dec 01 21:59:39 2014] [notice] Child 4964: Child process is running
[Mon Dec 01 21:59:39 2014] [notice] Child 4964: Acquired the start mutex.
[Mon Dec 01 21:59:39 2014] [notice] Child 4964: Starting 250 worker threads.
[Mon Dec 01 21:59:39 2014] [notice] Child 4964: Starting thread to listen on port 80.

你的代碼真的只有主貼中那些嗎?

開啟錯誤提示功能,測試看頁面有沒有有報錯。

你的代碼真的只有主貼中那些嗎?

開啟錯誤提示功能,測試看頁面有沒有有報錯。



代碼就是貼出那些,你看這個測試頁面,代碼就是這樣的啊,
http://www.getbook.cn/ImageEditor/4.htm
點提交會逾時,但地址欄顯示 http://www.getbook.cn/ImageEditor/4.htm?tbName=%27

這個伺服器前面有防火牆,和防入侵的神馬,會不會他們攔截了?

可能吧,你可以將防火牆和防入侵的神馬關閉了試試看就知道了。

頁面提交,你是怎麼接收?

這個。。。。。我測試了一下沒有逾時。是不是已經改代碼了?

好了, 應該是伺服器機房網路裝置的事

測試沒發現逾時

  • 聯繫我們

    該頁面正文內容均來源於網絡整理,並不代表阿里雲官方的觀點,該頁面所提到的產品和服務也與阿里云無關,如果該頁面內容對您造成了困擾,歡迎寫郵件給我們,收到郵件我們將在5個工作日內處理。

    如果您發現本社區中有涉嫌抄襲的內容,歡迎發送郵件至: info-contact@alibabacloud.com 進行舉報並提供相關證據,工作人員會在 5 個工作天內聯絡您,一經查實,本站將立刻刪除涉嫌侵權內容。

    A Free Trial That Lets You Build Big!

    Start building with 50+ products and up to 12 months usage for Elastic Compute Service

    • Sales Support

      1 on 1 presale consultation

    • After-Sales Support

      24/7 Technical Support 6 Free Tickets per Quarter Faster Response

    • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.