Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 443435
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 12, 20262026-05-12T21:10:15+00:00 2026-05-12T21:10:15+00:00

My web-site is working under ASP.NET 3.5, IIS7, Integrated pipiline mode. My HttpModule is

  • 0

My web-site is working under ASP.NET 3.5, IIS7, Integrated pipiline mode. My HttpModule is getting request to all resources, including URLs like this:
http://my-site.com/address

And I would support ‘*’ symbol in the URL for users. All attempts to navigate to such address are blocked by ASP.NET with the following error message:

HTTP Error 400.0 – Bad Request ASP.NET
detected invalid characters in the URL.

In this case execution doesn’t reach to the ‘BeginRequest’ handler.

Is there any posibility to get ability to process URLs with ‘*’ symbol (and other reserved too if possible).

Thanks

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-05-12T21:10:15+00:00Added an answer on May 12, 2026 at 9:10 pm

    What is the purpose of having a * in the URL, you may be able to disable some URL filtering setting to allow this but this will impact the security of your site. Take a look at the following if you really need to do this:

    http://dirk.net/2008/06/09/ampersand-the-request-url-in-iis7/
    http://support.microsoft.com/kb/820129
    http://www.lostechies.com/blogs/joshuaflanagan/archive/2009/04/27/asp-net-400-bad-request-with-restricted-characters.aspx

    An HttpModule which is properly coded and registered in web.config will automatically receive any request which ASP.Net starts to process, if ASP.Net rejects the request prior to starting processing then the BeginRequest method will never get called.

    Depending on what you are trying to do it may be better to create a HttpHandler and register it with a wildcard path instead.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I'm working on an asp.net web site. We have to use com interop to
I am working on an asp.net web site that is based upon a single
I have an ASP.NET MVC 3 web site that uses Windows Authentication running under
I'm working on an ASP .NET 2.0 site which uses a Web Application project
I'm working on a web site written using asp.net WebForms. I'd like two wrap
I'm currently working on a ASP.NET MVC web site, and I've come up to
I'm working on a web site (not a web application) in VS 2008 .Net
I have an ASP.Net web site deployed in IIS 7.5 with a file Cart.svc
I'm working with ASP.net. My website is hosted within a subfolder test under the
I have an iPad app that submits orders to an ASP.NET MVC web site

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.