Welcome Guest! To enable all features please Login or Register.

Notification

Icon
Error

Bad Request because of additional colon
tolot27
#1 Posted : Thursday, March 8, 2007 11:58:16 PM(UTC)
Groups: Member
Joined: 10/17/2006(UTC)
Posts: 6

Hello,

I'm using the February release of Cassini. Unfortunatelly, an error occurs, if I'm trying to navigate to a wikipedia site with search parameters like:

http://en.wikipedia.org/...sourceid=mozilla-search

Server Error in '/' Application.
HTTP Error 400 - Bad Request.
Version Information: Cassini Web Server 2.1.4.3


I assume there is a parsing error caused by the second colon after "Special". Please fix this.

--
Best regards,
Mathias Walter
Ultidev Team
#2 Posted : Friday, March 9, 2007 5:27:48 AM(UTC)
Ultidev Team

Groups: Administration
Joined: 11/3/2005(UTC)
Posts: 2,253

Thanks: 28 times
Was thanked: 60 time(s) in 59 post(s)
Hello, Mathias.

We are a bit confused with how Cassini is related to the communication between a browser and Wikipedia? We were unable to come up with the use case where Cassini would have to parse a request addressed to another server. We tried
Code:
this.Response.Redirect("http://en.wikipedia.org/wiki/Special:Search?search=Cassini&sourceid=mozilla-search");
which worked fine - it made Cassini send a response to the browser with the above-mentioned address in the redirect header.

Could you please provide more details about your scenario; may be a code snippet or steps required to reproduce the issue?

Best regards,
UltiDev Team.
Please donate at http://www.ultidev.com/products/Donate.aspx to help us improve our products.
tolot27
#3 Posted : Friday, March 9, 2007 6:28:22 AM(UTC)
Groups: Member
Joined: 10/17/2006(UTC)
Posts: 6

Hello UltiDev Team,

Ultidev Team wrote:

Could you please provide more details about your scenario; may be a code snippet or steps required to reproduce the issue?


Sorry, for the missing use case. But in fact it's not necessary. Just open your local Cassini Explorer and modify the url as follows:
Code:
http://localhost:7756/Application:Details.aspx

It produces the same error.

I developed a network payment gateway, which blocks all network traffic. Http requests will be redirected (by modifying the ip address within the TCP packet) to the local Cassini webserver. That's the case where Cassini gets involved into the Wikipedia request.

--
Best regards,
Mathias
Ultidev Team
#4 Posted : Friday, March 9, 2007 9:11:08 AM(UTC)
Ultidev Team

Groups: Administration
Joined: 11/3/2005(UTC)
Posts: 2,253

Thanks: 28 times
Was thanked: 60 time(s) in 59 post(s)
Hello, Mathias.

We see the difference in the behavior between IIS and Cassini: IIS returns 404 and Cassini returns 400. We're afraid we can't do much about it in the short term.

Could you please let us know which Wiki software you are attempt to host under Cassini?

Best regards,
UltiDev Team.
Please donate at http://www.ultidev.com/products/Donate.aspx to help us improve our products.
tolot27
#5 Posted : Friday, March 9, 2007 11:03:52 PM(UTC)
Groups: Member
Joined: 10/17/2006(UTC)
Posts: 6

Hello UltiDev Team,

Ultidev Team wrote:

We see the difference in the behavior between IIS and Cassini: IIS returns 404 and Cassini returns 400. We're afraid we can't do much about it in the short term.

Could you please let us know which Wiki software you are attempt to host under Cassini?


Ah, I never tried it with IIS. As I mentioned before, I just redirect the network traffic to the local Cassini webserver. So no hosting of any wiki software is done on my computer.
Wikipedia uses Wiki Media software and I'm using the search bar of Firefox (with Wikipedia search engine installed) to enter a search term. This search bar forms the request to the wikipedia server.

I think you should only parse for the first colon!

--
Best regards,
Mathias
Ultidev Team
#6 Posted : Saturday, March 10, 2007 5:05:59 PM(UTC)
Ultidev Team

Groups: Administration
Joined: 11/3/2005(UTC)
Posts: 2,253

Thanks: 28 times
Was thanked: 60 time(s) in 59 post(s)
Hello, Mathias.

We now understood and logged the issue, but unfortunately we won't be able to fix it in the short term. It is more likely we'll take care of it in the next release.

Best regards,
UltiDev Team.
Please donate at http://www.ultidev.com/products/Donate.aspx to help us improve our products.
Rss Feed  Atom Feed
Users browsing this topic
Guest (2)
Forum Jump  
You cannot post new topics in this forum.
You cannot reply to topics in this forum.
You cannot delete your posts in this forum.
You cannot edit your posts in this forum.
You cannot create polls in this forum.
You can vote in polls in this forum.