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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 26, 20262026-05-26T17:18:09+00:00 2026-05-26T17:18:09+00:00

In Firefox version 7.0.1, URIs with encoded spaces in them are automatically converted to

  • 0

In Firefox version 7.0.1, URIs with encoded spaces in them are automatically converted to a space in the Location Bar.

This does not happen in Internet Explorer.

For example, I have a textbox on a page with contents of “Test Test”. I have a javascript function that reloads the page with the encoded contents of the textbox using encodeURIComponent().

Internet Explorer produces:

http://host/page.php?box=Test%20Test

Firefox 7.0.1 produces:

http://host/page.php?box=Test Test

Upon alerting out the results of encodeURIComponent in Firefox, the space is correctly escaped as %20.

It appears Firefox is doing something that is removing the encoding from the URI. This then results in the URI not conforming to RFC2396

My question is what should I as a developer do? In fact, do I need to do anything?

  • 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-26T17:18:10+00:00Added an answer on May 26, 2026 at 5:18 pm

    This applies only to the URL field that Firefox shows to the user, not the actual request that gets made.

    If you look at the request in Firefox 7 on Windows 7, you will see that the spaces get URL encoded:

    enter image description here

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

Sidebar

Related Questions

Firefox 3.5 does not allow creating java OBJECT tag with Javascript (document.write)? this technique
Which version of JavaScript does Google Chrome support in relation to Mozilla Firefox? In
Please try the following in Firefox (my version: 3.6.12). This was working and now
Any idea why a new Firefox (latest version) would not show scrollbars on a
I have a very weird problem in Firefox ( version 3.5.2), and I am
How do I programatically get my own Firefox extension's version number with Javascript? My
I've read somewhere that the trunk version of Firefox already had a WebSocket implementation.
Firefox requires xhtml extension for mathml but IE will not display pages with xhtml
Firefox 3 now stores bookmarks in a Sqlite file called profiles.sqlite. This file is
Firefox recently blacklisted the plugin that allows xbaps to work in firefox This is

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.