Closed Bug 283354 Opened 20 years ago Closed 19 years ago

config option editor.singleLine.pasteNewlines not working when dragging link to tabbar

Categories

(Firefox :: Tabbed Browser, defect)

x86
All
defect
Not set
normal

Tracking

()

RESOLVED INVALID

People

(Reporter: jochen, Assigned: bugs)

Details

User-Agent:       Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.7.5) Gecko/20041107 Firefox/1.0
Build Identifier: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.7.5) Gecko/20041107 Firefox/1.0

When I copy a link from a forum that is wrapped around to more than one line,
open a new tab and then paste the link, it is opened correctly because the
newline characters are stripped due to the editor.singleLine.pasteNewlines
config option. When I drag the very same link to the tabbar to open a new tab,
the browser behaves as if the config option is not active. 

Reproducible: Always

Steps to Reproduce:
1. enter about:config and set editor.singleLine.pasteNewlines to 0
2. Select a link that is wrapped around in a forum and contains newlines.
3. Press Ctrl+C, Ctrl+T, Ctrl+V to open this link in a new tab
4. The page is loaded correctly although it has newlines

5. select the very same link again 
6. drag the link to the tabbar to open this link in a new tab
7. the newlines are not stripped and the web server sends error 404

Actual Results:  
the newlines contained in the url are not stripped

Expected Results:  
newlines are stripped due to config option
This pref. has nothing to do with the behavior that you described.
Status: UNCONFIRMED → RESOLVED
Closed: 19 years ago
Resolution: --- → INVALID
You need to log in before you can comment on or make changes to this bug.