ASP.Net: HTTP 400 Bad Request error when trying to process http://localhost:5957/http://yahoo.com
Posted
by mat3
on Stack Overflow
See other posts from Stack Overflow
or by mat3
Published on 2009-06-04T03:20:01Z
Indexed on
2010/04/30
11:57 UTC
Read the original article
Hit count: 237
I'm trying to create something similar to the diggbar : http://digg.com/http://cnn.com
I'm using Visual Studio 2010 and Asp Development server.
However, I can't get the ASP dev server to handle the request because it contains "http:" in the path. I've tried to create an HTTPModule to rewrite the URL in the BeginRequest , but the event handler doesn't get called when the url is http://localhost:5957/http://yahoo.com. The event handler does get called if the url is http://localhost:5957/http/yahoo.com
To summarize
- http://localhost:5957/http/yahoo.com works
- http://localhost:5957/http//yahoo.com does not work
- http://localhost:5957/http://yahoo.com does not work
- http://localhost:5957/http:/yahoo.com does not work
Any ideas?
© Stack Overflow or respective owner