Spiderbasic invents query strings...?
Posted: Wed May 26, 2021 3:48 am
I point this request @ a cgi program created with PB (all of this under Windows 10, running Abyss as Web Server)
HTTPRequest(#PB_HTTP_Get, "http://127.0.0.1:8080/cgi-bin/cgiprinter", "", @HttpGetEvent())
and it fails with HTTP Error - the log entry for this attempt:
127.0.0.1 - - [25/May/2021:20:32:43 -0700] "GET /cgi-bin/cgiprinter?%20&_=1621999960984 HTTP/1.1" 200 645 "http://127.0.0.1:9080/" "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/90.0.4430.212 Safari/537.36"
When I paste the URL from the request into any browser it works and the access log shows:
127.0.0.1 - - [25/May/2021:20:44:51 -0700] "GET /cgi-bin/cgiprinter HTTP/1.1" 200 597 "" "Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:88.0) Gecko/20100101 Firefox/88.0"
I am awfully tempted to blame this on the query string that Spiderbasic seems to insert out of the blue...
What is going on here? Thanks for any help
HTTPRequest(#PB_HTTP_Get, "http://127.0.0.1:8080/cgi-bin/cgiprinter", "", @HttpGetEvent())
and it fails with HTTP Error - the log entry for this attempt:
127.0.0.1 - - [25/May/2021:20:32:43 -0700] "GET /cgi-bin/cgiprinter?%20&_=1621999960984 HTTP/1.1" 200 645 "http://127.0.0.1:9080/" "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/90.0.4430.212 Safari/537.36"
When I paste the URL from the request into any browser it works and the access log shows:
127.0.0.1 - - [25/May/2021:20:44:51 -0700] "GET /cgi-bin/cgiprinter HTTP/1.1" 200 597 "" "Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:88.0) Gecko/20100101 Firefox/88.0"
I am awfully tempted to blame this on the query string that Spiderbasic seems to insert out of the blue...
What is going on here? Thanks for any help