0
Fixed

Why server gets "?" appended to test URL?

nutiteq 10 years ago updated by Konstantin (Here to help) 10 years ago 6
I have defined a test URL (http://kaart.maakaart.ee/dd/?output=geojson&lat=59.2863287&lon=24.5276882&dist=0.1), but server gets ? appended to it, so it will be http://kaart.maakaart.ee/dd/?output=geojson&lat=59.2863287&lon=24.5276882&dist=0.1? which is invalid URL and server will give errors. I do not see in my settings any ?. How can I remove it?

Answer

Answer
Fixed
Bug confirmed and will be fixed in the next release. 
Thanks for reporting!
Additional comments: the problem started suddenly already some time ago: 10:10 FET on Wednesday, November 13 to be exact. And quick workaround is to append something to the URL, so ? will not be considered in the server last parameter value, I added "&anturisbug=" for example
Hi,
I tried to reproduce the problem and it worked fine for me (as shown below). Could it be a typo in your URL configuration? Or did I take the wrong URL?

How will I get the screen as you have shown? I have following configuration:
a) monitor:




You see there is no ? in the end of Path. 
and this fails with message:


This error message does not reveal actual URL, but if I check from the server access log, then I see that URL is modified:
193.40.61.101 - - [17/Dec/2013:13:05:44 +0200] "GET /dd/?output=geojson&lat=59.2863287&lon=24.5276882&dist=0.1? HTTP/1.1" 200 514 "-" "Mozilla/5.0"

The screen i captured takes place during new monitor creation - it is a step when you test new monitor. What if you create a new monitor with the same configuration from scratch - and let's see if the same error happens.
Thanks.
Same problem happened, you just did not notice it. I can see from the server-side that ? was actually added to the URL, but wizard does not display it. Server will return 200 code, so basic monitor thinks that it is ok, but there is actually garbage (error message) in the content. I use content check, which discovers that response is garbage.
Got it.
Sorry I didnt realize at first that your server responds 200 in both cases. 
Will investigate now and come back to you.
Started
Bug confirmed and will be fixed in the next release. 
Thanks for reporting!
Answer
Fixed
Bug confirmed and will be fixed in the next release. 
Thanks for reporting!