Closed
Bug 288245
Opened 20 years ago
Closed 20 years ago
Pasted URLs are truncated at first CR/LF
Categories
(Firefox :: Address Bar, enhancement)
Tracking
()
RESOLVED
WORKSFORME
People
(Reporter: simon.hewitt, Assigned: bugs)
Details
User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-GB; rv:1.7.6) Gecko/20050321 Firefox/1.0.2
Build Identifier: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-GB; rv:1.7.6) Gecko/20050321 Firefox/1.0.2
I'm sure that everyone has seen URLs in emails that are wrapped and so clicking
on the higlighted link misses out the last part of the URL. I usually copy the
whole URL, paste it into a new instance of NotePad, delete the CR/LF, copy the
new URL and then paste it into the browser.
It would be nice for Firefox, when a URL is copied into the Address Box, to
simply remove embedded CR/LF characters to make the URL complete.
Reproducible: Always
Steps to Reproduce:
1. Copy this sample link (no relevance other than it was the one I happened to
want to look at at the time)
http://msdn.microsoft.com/vbasic/default.aspx?pull=/msdnmag/issues/05/04/Reg
FreeCOM/default.aspx
2. Paste the link in the Firefox Address Bar
Actual Results:
The link appears up to "...Reg"
Expected Results:
The full URL should appear: "...RegFreeCOM/default.aspx"
There is a hidden pref for that, see that lines from my user.js:
// Newline paste behavior:
// 0=paste unchanged, 1=paste only first line,
// 2=replace with spaces, 3=strip newlines
user_pref("editor.singleLine.pasteNewlines", 3);
Use about:config to alter that pref.
Reporter | ||
Updated•20 years ago
|
Status: UNCONFIRMED → RESOLVED
Closed: 20 years ago
Resolution: --- → WORKSFORME
Reporter | ||
Comment 2•20 years ago
|
||
Thanks for that!
You need to log in
before you can comment on or make changes to this bug.
Description
•