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 3318678
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 17, 20262026-05-17T22:44:05+00:00 2026-05-17T22:44:05+00:00

I need to allow the user to submit queries as follows; /search/my search string

  • 0

I need to allow the user to submit queries as follows;

/search/"my search string"

but it’s failing because of request validation, as outlined in the following 2 questions:

How to include quote characters as a route parameter? Getting "Illegal characters in path" message

How to modify request validation?

I’m currently trying to figure out how to disable request validation for the quote character, but i’d like to know the risks before I actually put the site live with this disabled? I will not disable the request validation unless I can only disable it for the quote character, so I do intend to disallow every other character that’s currently not allowed.

  • 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-17T22:44:06+00:00Added an answer on May 17, 2026 at 10:44 pm

    According to the URI generic syntax specification (RFC 2396), the double-quote character is explicitly excluded and must be escaped (i.e. %22). See section 2.4.3. The reason given in the spec:

    The angle-bracket “<” and “>” and double-quote (“) characters are excluded because they are often used as the delimiters around URI in text documents and protocol fields.

    You can see easily why this is the case — imagine trying to create a link in HTML to your URL:

    <a href="http://somesite/search/"my search string""/>
    

    That would fail HTML parsing (and also breaks SO’s syntax highlighting). You also would have trouble doing basic things with the URL like emailing it to someone (the email client wouldn’t parse the URL correctly), posting it on a message board, sending it in an instant message, etc.

    For what it’s worth, spaces are also explicitly excluded (same section of the RFC explains why).

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

Sidebar

Related Questions

I am building an app where I need to allow a user to add
Through the website, I need to allow the user to add attachments and store
Is there a winforms month-only picker control? I need to allow the user to
I need a regex that allow user to insert a password in a field.
I need to create a custom user interface using extJS/JSP which will allow me
Greeting, I'm using jquery Plugins/Validation library. I want to allow validation on submitting but
I need allow registered front end users to add, remove images to image gallery.
I need to allow users to upload PDF documents that other users will read.
I need to allow users to select an assembly in much the same way
I need to allow a consultant to connect to SSIS on a SQL Server

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.