Closed
Bug 229254
Opened 22 years ago
Closed 22 years ago
Incorrect URL in location bar when copy-pasting a URL with newline characters
Categories
(SeaMonkey :: Location Bar, defect)
SeaMonkey
Location Bar
Tracking
(Not tracked)
People
(Reporter: matthieu.moy, Unassigned)
Details
User-Agent: Mozilla/5.0 (X11; U; SunOS sun4u; en-US; rv:1.4) Gecko/20030701
Build Identifier: Mozilla/5.0 (X11; U; SunOS sun4u; en-US; rv:1.4) Gecko/20030701
When I copy-past a URL with a newline character from an external application,
Mozilla shows only the beginning of the URL.
Reproducible: Always
Steps to Reproduce:
1. In a text editor, type
http://www.moz
illa.org/
(including the newline between 'moz' and 'illa'
2. Select it
3. Past it in the location bar of Mozilla
Actual Results:
You can see only
http://www.moz
In the location bar
Expected Results:
Remove newline characters from the URL or encode them properly, thus displaying
the full URL on a single line.
Fortunately, I didn't manage to reproduce this with a link containing a newline.
The problems seems to happen only when using copy-paste. (Thus, this is not a
security problem.)
Comment 1•22 years ago
|
||
confirming 20031216 Win2k although I'm sure there's a dupe, searching...
OS: SunOS → All
Hardware: Sun → All
Comment 2•22 years ago
|
||
workaround:
add a pref to user.js in your profile, if it doesn´t exist, create a user.js.
user_pref("editor.singleLine.pasteNewlines", 3);
I also got another one in my user.js, don´t know if it is relevant:
user_pref("browser.urlbar.clickSelectsAll", true);
and if you want to get rid of Marquee:
pref("browser.blink_allowed", false);
Comment 3•22 years ago
|
||
Thanks for the tip. An easier way to add/modify pref. entries is to type
'about:config' in the location bar (as you know well).
Comment 5•22 years ago
|
||
*** This bug has been marked as a duplicate of 23485 ***
Status: UNCONFIRMED → RESOLVED
Closed: 22 years ago
Resolution: --- → DUPLICATE
Updated•21 years ago
|
Product: Browser → Seamonkey
V/dupe.
Status: RESOLVED → VERIFIED
Component: General → Location Bar
Product: Mozilla Application Suite → Core
QA Contact: general → benc
Updated•21 years ago
|
Product: Core → SeaMonkey
You need to log in
before you can comment on or make changes to this bug.
Description
•