Closed
Bug 29284
Opened 26 years ago
Closed 26 years ago
Unescaped javascript URL corrupts localstore.rdf
Categories
(Core Graveyard :: RDF, defect, P2)
Tracking
(Not tracked)
VERIFIED
FIXED
M16
People
(Reporter: sfraser_bugs, Assigned: waterson)
Details
Attachments
(2 files)
Somehow, I ended up with this line in my localstore.rdf:
<RDF:Description about="javascript:if(sint0002 = prompt('Bug Number:',''))
location.href="http://bugzilla.mozilla.org/show_bug.cgi?id=" + sint0002;">
<open>true</open>
</RDF:Description>
It seems that the URL needs to be escaped, to encode the quotes.
| Reporter | ||
Comment 1•26 years ago
|
||
| Reporter | ||
Comment 2•26 years ago
|
||
This bug causes bad things to happen on startup for me.
| Assignee | ||
Comment 3•26 years ago
|
||
I need to use the nsURLEscape code. I think what I have in there is home-grown
right now. Thanks for wiping my chin, sfraser.
Status: NEW → ASSIGNED
Target Milestone: M15
Comment 4•26 years ago
|
||
I'm having some type of problem where my localstore.rdf is not being read in (at
least correctly) or saved at exit. Seems to be creating it on the fly everytime.
I'm not as smart as simon, so I can't tell what the problem is. If I rename the
file, then things work swell again.
This is probably a completely different bug, let me know.
I'll attach the file that hosed me.
Comment 5•26 years ago
|
||
| Assignee | ||
Updated•26 years ago
|
Target Milestone: M15 → M16
| Assignee | ||
Updated•26 years ago
|
Priority: P3 → P2
| Assignee | ||
Comment 6•26 years ago
|
||
fixed
Status: ASSIGNED → RESOLVED
Closed: 26 years ago
Resolution: --- → FIXED
Updated•7 years ago
|
Product: Core → Core Graveyard
You need to log in
before you can comment on or make changes to this bug.
Description
•