Closed Bug 422346 Opened 16 years ago Closed 16 years ago

Carriage returns should be stripped from URI when paste to address bar

Categories

(Firefox :: General, enhancement)

enhancement
Not set
normal

Tracking

()

RESOLVED DUPLICATE of bug 23485

People

(Reporter: leotsarev, Unassigned)

References

()

Details

User-Agent:       Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.8.1.12) Gecko/20080201 Firefox/2.0.0.12
Build Identifier: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.8.1.12) Gecko/20080201 Firefox/2.0.0.12

IE8 will have a nice feature, which I miss in Fx. Exempt from post:

IE8 will automatically strip out excess carriage returns and line feeds within a URL when pasted into the Address Bar. Many web e-mail applications automatically split long lines into multiple lines, which meant you couldn’t easily copy and paste them into the browser. Users can now highlight an entire URL, no matter how many lines it spans, and paste it directly into the Address Bar.

Example: if you copy and paste the next 3 lines into the Address Bar of IE7, only the first line (an incomplete fragment of the entire URL) will appear. In IE8, the entire URL will appear:

    http://bl
    ogs.msdn.
    com/ie

Reproducible: Always

Steps to Reproduce:
Paste this text into address bar   
 http://bl
    ogs.msdn.
    com/ie
Actual Results:  
Only http://bl pasted

Expected Results:  
Must be  http://blogs.msdn.com/ie
Huh. Trunk builds got that as a Christmas present in 2005, I'd forgotten that 3.0 was going to be the first Firefox _release_ with it.
Status: UNCONFIRMED → RESOLVED
Closed: 16 years ago
Resolution: --- → DUPLICATE
You need to log in before you can comment on or make changes to this bug.