Closed
Bug 2864
Opened 26 years ago
Closed 25 years ago
URLs >255 characters truncated on edit
Categories
(SeaMonkey :: UI Design, defect, P3)
SeaMonkey
UI Design
Tracking
(Not tracked)
VERIFIED
WORKSFORME
M10
People
(Reporter: sdagley, Assigned: mozilla)
References
Details
(This bug imported from BugSplat, Netscape's internal bugsystem. It
was known there as bug #324945
http://scopus.netscape.com/bugsplat/show_bug.cgi?id=324945
Imported into Bugzilla on 02/03/99 13:03)
One of the changes to 4.5 is to support URLs longer than 255 characters in the
Location field. If you bookmark a page that has a URL >255 characters (such as
generated from a BugSplat query) and then edit that bookmark, to change the title
for example, the URL will be trunctaed to 255 charcters. URLs >255 characters
dragged to a browser window are also truncated before the load attempt occurs.
Since 4.06 and earlier didn't support URLs >255 characters at all and the feature
was added for 4.5 it really should be fixed before release.
Reporter | ||
Comment 1•26 years ago
|
||
Simon already fixed the case with dragging URLs >255 characters into a browser
window (now allows up to 1024 characters). The truncation on edit is more
serious but would require significant resource & code changes since the current
design assumes the text field won't exceed 255 characters. Since it is not a
simple fix and it is not technically a regression changing the TFV to 5.0 to get
off the 4.5 radar.
Reporter | ||
Comment 2•26 years ago
|
||
Reassigning to saari for investigation of whether or not the bookmark changes in
5.0 have eliminated the truncation on editing problems.
Updated•26 years ago
|
Component: Aurora/RDF FE → RDF
Product: MozillaClassic → Browser
Comment 3•26 years ago
|
||
Changing component to browser (not sure if this is still relevant, however).
Updated•26 years ago
|
Assignee: saari → don
Comment 4•26 years ago
|
||
Not an XPToolkit problem, reassigning to don@netscape.com
qa assigned set to claudius@netscape.com
Changed platform to All, Component to Apprunner, and priority to P3.
We need to make sure this works correctly on all platforms, not just the Mac OS.
Updated•25 years ago
|
Status: NEW → ASSIGNED
Comment 10•25 years ago
|
||
Now that we use nsString to store and access urls in webshell we don't have such
restrictions. cc'ing slamm, so that he can comment on bookmark editor window
case.
Updated•25 years ago
|
Target Milestone: M9 → M10
Comment 11•25 years ago
|
||
In 4.x, I remember we placed a limit on bookmark length because the bookmark
file code could not read super long urls (even though it wrote them just fine).
People would unknowingly bookmark a page that had a super long title. They would
quit the app and the next time they ran 4.x would crash on startup. We patched
the problem by only allowing the code to write bookmarks out to the file that it
could read. I forget what restriction we had, but it was in the 2,000 to 4,000
character range.
Waterson used that code for mozilla, so I would guess that the restriction still
applies. If a bookmark was too long, we would simple truncate the title.
I do not know of any other restrictions that the Bookmarks Management window
would have.
Comment 12•25 years ago
|
||
I copied the code in spirit, not line-by-line. The APIs and bookamrks.html
parser all using nsStrings now, so there shouldn't be any limitation on the
length of the bookmark's title or URL.
That said, there could be a bugs in BookmarkParser::Parse() (see
xpfe/components/bookmarks/src/nsBookmarksService.cpp, line ~350).
Radha: if you want to reassign this bug to me (or RJC) that's fine.
Updated•25 years ago
|
Assignee: radha → waterson
Status: ASSIGNED → NEW
Updated•25 years ago
|
Status: NEW → ASSIGNED
Updated•25 years ago
|
Comment 13•25 years ago
|
||
giving rjc the love
Assignee | ||
Comment 14•25 years ago
|
||
Steve, what's the REAL bug that's being described??
5.0 should handle bookmark URLs of *any* length.
Assignee | ||
Updated•25 years ago
|
Status: NEW → RESOLVED
Closed: 25 years ago
Resolution: --- → WORKSFORME
Assignee | ||
Comment 15•25 years ago
|
||
I just editing a URL which was 550 characters in length and everything worked
just dandy.
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
•