Closed
Bug 39258
Opened 25 years ago
Closed 24 years ago
[RFE] strip newlines while pasting urls into location bar
Categories
(SeaMonkey :: UI Design, enhancement, P3)
SeaMonkey
UI Design
Tracking
(Not tracked)
Future
People
(Reporter: jruderman, Assigned: don)
Details
(Keywords: helpwanted)
It would be cool if mozilla would strip newlines (but not spaces) from urls
being pasted into the location bar. The idea behind this is that if you're
pasting something with newlines into the location bar, most likely it's a long
URL that got split accidentally, for example:
http://bugzilla.mozilla.org/buglist.cgi?
bug_status=UNCONFIRMED&bug_status=NEW&bug_status=ASSIGNED&bug_status=REOPENED&bu
g_status=RESOLVED&bug_status=VERIFIED&bug_status=CLOSED&email1=&emailtype1=subst
ring&emailassigned_to1=1&email2=&emailtype2=substring&emailreporter2=1&bugidtype
=include&bug_id=&changedin=&votes=&chfieldfrom=&chfieldto=Now&chfieldvalue=&shor
t_desc=url&short_desc_type=substring&long_desc=&long_desc_type=substring&bug_fil
e_loc=&bug_file_loc_type=substring&status_whiteboard=&status_whiteboard_type=sub
string&keywords=&keywords_type=anywords&field0-0-0=short_desc&type0-0-
0=substring&value0-0-0=paste&newqueryname=&order=bugs.resolution%2C%20desc%2C%
20bugs.bug_id
One problem with this is that it doesn't distinguish between newlines and
spaces in the original text, but in most cases the "real" whitespace in the url
has already been escaped.
Comment 1•25 years ago
|
||
over to editor for a look
Assignee: asa → beppe
Component: Browser-General → Editor
QA Contact: jelwell → sujay
Comment 2•24 years ago
|
||
I don't think this is an editor issue. The editor shouldn't blindly strip
characters. If the urlbar wants to have newlines stripped, it should do that.
If I paste the same text into a different textarea, I very well may want those
lf/cr as they are.
Back to Browser team.
Assignee: beppe → asa
Component: Editor → Browser-General
QA Contact: sujay → jelwell
Comment 3•24 years ago
|
||
OK, over to XPToolkit for a look.
Assignee: asa → trudelle
Component: Browser-General → XP Toolkit/Widgets
QA Contact: jelwell → jrgm
Comment 4•24 years ago
|
||
Same argument applies doubly to XPToolkit. We can't have the clipboard code
deciding what data to strip out for each destination. Location bar is XPApps,
changing component, reassigning.
Assignee: trudelle → don
Component: XP Toolkit/Widgets → XPApps
QA Contact: jrgm → sairuh
Updated•24 years ago
|
QA Contact: sairuh → claudius
Reporter | ||
Comment 6•24 years ago
|
||
nominating for helpwanted in case someone wants to do this before Future
Keywords: helpwanted
Reporter | ||
Comment 7•24 years ago
|
||
*** This bug has been marked as a duplicate of 23485 ***
Status: NEW → RESOLVED
Closed: 24 years ago
Resolution: --- → DUPLICATE
Updated•20 years ago
|
Product: Core → Mozilla Application Suite
You need to log in
before you can comment on or make changes to this bug.
Description
•