Closed Bug 268504 Opened 20 years ago Closed 20 years ago

a link with spaces in href attribute value fails

Categories

(SeaMonkey :: General, defect)

x86
Windows XP
defect
Not set
major

Tracking

(Not tracked)

RESOLVED INVALID

People

(Reporter: arnox, Unassigned)

References

()

Details

User-Agent:       Mozilla/5.0 (Windows; U; Windows NT 5.1; rv:1.7.3) Gecko/20041001 Firefox/0.10.1
Build Identifier: Mozilla/5.0 (Windows; U; Windows NT 5.1; rv:1.7.3) Gecko/20041001 Firefox/0.10.1

a link such as:

<a href="/up/9fbpnwp3/g/rie/e8/va/NV_6_22_Bay Area Surplus.doc" 
target=_blank>NV_6_22_Bay Area Surplus.doc</a>

will not be recognized as CA_6_22_Bay Area Surplus.doc, but rather as NV_6_22_Bay

..as a result you can't open a document, which means that I can't use FireFox
with QuickBase.

Since hrefs are at the core of HTML, I gave this bug a higher rating.


Reproducible: Always
Steps to Reproduce:
1.
2.
3.
INVALID. Spaces in URI/URL's are not allowed. See rfc2396
http://www.ietf.org/rfc/rfc2396.txt

The fact that other browsers break this standard doesn't mean we should also.

Extract:


2.4.3. Excluded US-ASCII Characters

   Although they are disallowed within the URI syntax, we include here a
   description of those US-ASCII characters that have been excluded and
   the reasons for their exclusion.

   ....

   The space character is excluded because significant spaces may
   disappear and insignificant spaces may be introduced when URI are
   transcribed or typeset or subjected to the treatment of word-
   processing programs.  Whitespace is also used to delimit URI in many
   contexts.

   space       = <US-ASCII coded character 20 hexadecimal>

you must escape a space as %20: CA_6_22_Bay%20Area%20Surplus.doc will work.

invalid (see comment #1)
Status: UNCONFIRMED → RESOLVED
Closed: 20 years ago
Resolution: --- → INVALID
Product: Browser → Seamonkey
You need to log in before you can comment on or make changes to this bug.