Closed Bug 364004 Opened 18 years ago Closed 18 years ago

When pasting multi-line URL in location bar, remove line breaks and surrounding spaces from link

Categories

(Firefox :: Address Bar, enhancement)

x86
Windows XP
enhancement
Not set
normal

Tracking

()

RESOLVED DUPLICATE of bug 23485

People

(Reporter: mw, Unassigned)

Details

User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.8.1) Gecko/20061010 Firefox/2.0 Build Identifier: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.8.1) Gecko/20061010 Firefox/2.0 It is not an uncommon situation for me to have to paste a multi-line URL into the location bar. For instance, when people send me links via email or IM, they are often line-wrapped. Many apps, including Thunderbird stops highlighting the link on wrap (which is understandable behavior). It would be nice to just copy the multi-line link and paste it into Firefox. Firefox cuts off the paste in the location bar on new line, but a better behavior would be if it simply removed any line breaks and surrounding spaces. I can't think of a downside to this behavior and it would seem to be useful in many cases. Reproducible: Always Steps to Reproduce: 1. Copy the following URL that has been line-wrapped by some application you received it in: http://www.example.com/path/to/ test.html 2. Paste it into the location bar. Actual Results: http://www.example.com/path/to/ Expected Results: http://www.example.com/path/to/test.html
*** This bug has been marked as a duplicate of 23485 ***
Status: UNCONFIRMED → RESOLVED
Closed: 18 years ago
Resolution: --- → DUPLICATE
You need to log in before you can comment on or make changes to this bug.