RE: Bad Request <OR> Illegal characters in path
- From: stcheng@xxxxxxxxxxxxxxxxxxxx (Steven Cheng[MSFT])
- Date: Fri, 05 Oct 2007 03:27:49 GMT
Hello,
From your description, you're using custom ASP.NET handler to intercept thegif extension requests, however, you found those urls with the following
like patter will result to 400 bad request error and you still got problem
even after applied the KB reference's solution ,correct?
Regarding on this issue, I've viewed that kb article and it does describes
the problem you meet. Actually, the problem should be raised by the
following particular characters which are by default not allowed in URL
path(not querystring):
* , %, :
Based on my research on some former issues, some one mentioned that an URL
Validator module of ASP.NET may perform validation against the url path. I
suggest you check whether your server has ever been installed this
validator module.
#ASP.NET ValidatePath Module Scanner
http://www.microsoft.com/downloads/details.aspx?FamilyID=be7366f5-82a1-444f-
9ebc-d70b6c8830dd&DisplayLang=en
In addition, to make the problem more concentrated, you may test it over
some other server machines. If the problem remains, you'd better directly
contact the CSS on this issue as the problem has been definitely documented
in the KB article:
Microsoft Customer Support Services (CSS) at
http://msdn.microsoft.com/subscriptions/support/default.aspx.
If there is any other findings, welcome to post here.
Sincerely,
Steven Cheng
Microsoft MSDN Online Support Lead
==================================================
Get notification to my posts through email? Please refer to
http://msdn.microsoft.com/subscriptions/managednewsgroups/default.aspx#notif
ications.
Note: The MSDN Managed Newsgroup support offering is for non-urgent issues
where an initial response from the community or a Microsoft Support
Engineer within 1 business day is acceptable. Please note that each follow
up response may take approximately 2 business days as the support
professional working with you may need further investigation to reach the
most efficient resolution. The offering is not appropriate for situations
that require urgent, real-time or phone-based interactions or complex
project analysis and dump analysis issues. Issues of this nature are best
handled working with a dedicated Microsoft Support Engineer by contacting
Microsoft Customer Support Services (CSS) at
http://msdn.microsoft.com/subscriptions/support/default.aspx.
==================================================
This posting is provided "AS IS" with no warranties, and confers no rights.
--------------------
From: =?Utf-8?B?bmV4ZGV2ZWxvcGVy?= <nexdeveloper@xxxxxxxxxxxxxxxx>
Subject: Bad Request <OR> Illegal characters in path
Date: Thu, 4 Oct 2007 13:46:01 -0700
handler
Here is my issue:
1) This is an ASP.NET 1.1 website hosted on Windows2003 Server
2) SP1 for .NET 1.1 is installed
3) I have the .gif extension mapped in IIS to the 1.1 aspnet_isapi.dll
4) I have an httphandler configured for the website:
<add verb="*" path="*.gif" type="myNamespace.myHandler,myHandler"/>
When I make this request:
http://mydomain.com/%2a%2b%2c%29%2e%21%20%28/image.gif
I get an error:
HTTP/1.1 400 Bad Request - Bad Request
I then added a registry key as described here:
http://support.microsoft.com/kb/826437
When that registry key exists the error changes to:
HTTP/1.1 500 Internal Server Error - Illegal characters in path
Is there any way to remove the HasIllegalCharacters check so that my
can receive the request?
.
- References:
- Bad Request <OR> Illegal characters in path
- From: nexdeveloper
- Bad Request <OR> Illegal characters in path
- Prev by Date: Bad Request <OR> Illegal characters in path
- Next by Date: Re: Problem with Protocol Transition
- Previous by thread: Bad Request <OR> Illegal characters in path
- Index(es):
Relevant Pages
|