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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 19, 20262026-05-19T17:33:13+00:00 2026-05-19T17:33:13+00:00

I am using .NET Page Routing (not MVC) to get pretty URLs (or at

  • 0

I am using .NET Page Routing (not MVC) to get pretty URLs (or at least removing the file extensions) on my site.

On my search page, when a user searches for “stuff” it redirects then to /search/stuff for the results. However when I put in something like “stuff yes:” it gives me a HTTP 400 Bad Request Error.

I tried using javascript to encode the search value before being submitted, and confirmed that “stuff yes:” was converted to “staff%20yes%3A”, yet when it performs the routing redirect, in the URL it shows “staff%20yes:” and causes the bad request. Why is it not saving the encoding for the typically illegal characters and how can I make it so?

  • 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-19T17:33:14+00:00Added an answer on May 19, 2026 at 5:33 pm

    Hm. Is it possible this is happening because the : isn’t always an illegal character in URIs? For example,

    foo://username:password@example.com:8042

    I’m probably reaching, but it’s a thought.

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

Sidebar

Related Questions

I've recently set up an ASP.net site (not using MVC.net) to use URL Routing
I'm using the new Routing feature in ASP.NET 4 (Web forms, not MVC). Now
I am using ASP.NET page methods with jQuery.... How do I get the value
I'm using ASP.Net 4 URL routing on a web forms site. I have multiple
I am using asp.net mvc. here I am not asking on controller logic but
I'm using the .Net 4.0 framework and doing some url routing. This is not
I am using ASP.NET page methods with jQuery. Here is my code, $.ajax({ type:
I am using ASP.NET and on ASP.NET page has validate attribute which checks for
I'm working on an ASP.NET page, using VB.NET and I have this hierarchy: Page
I have a ASP.Net page using ADO to query MS access database and as

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.