Closed
Bug 577688
Opened 15 years ago
Closed 15 years ago
Extra parameters in data: URL make it not load
Categories
(Core :: General, defect)
Tracking
()
RESOLVED
WORKSFORME
People
(Reporter: mozilla.org, Unassigned)
References
()
Details
User-Agent: Mozilla/5.0 (Macintosh; U; Intel Mac OS X 10_6_4; en-US) AppleWebKit/533.4 (KHTML, like Gecko) Chrome/5.0.375.99 Safari/533.4
Build Identifier: Mozilla/5.0 (Macintosh; U; Intel Mac OS X 10.6; en-US; rv:1.9.2.6) Gecko/20100625 Firefox/3.6.6
I expected to download a vCard file from the vCard link at the bottom. It uses this code:
<a href="javascript:location='data:text/directory;profile=vCard;charset=utf-8,'+encodeURIComponent(getVCard())">vCard</a>
Nothing downloads
Reproducible: Always
Steps to Reproduce:
1.click on vCard link at the bottom of http://foolip.org/cv
Actual Results:
nothing
Expected Results:
vcard downloads
works in webkit. fails in chrome, opera and firefox
![]() |
||
Comment 1•15 years ago
|
||
Oli, thanks for filing this! This is a duplicate of the existing bug on changing parsing of data: URI parameters to allow various parameters not actually described in the data: URI spec (in this case the profile=vCard part)....
Whiteboard: DUPEME
![]() |
||
Updated•15 years ago
|
Summary: using href="javascript:location… doesn’t generate a downloadable file → Extra parameters in data: URL make it not load
Reporter | ||
Comment 2•15 years ago
|
||
@Boris really sorry, but in addition to being a dupe (didn’t know the right keywords to search for obviously) I discovered that this actually works — there was a broken link in the real page (localhost version with localhost scripts worked great).
Updated•15 years ago
|
Status: UNCONFIRMED → RESOLVED
Closed: 15 years ago
Resolution: --- → WORKSFORME
Whiteboard: DUPEME
You need to log in
before you can comment on or make changes to this bug.
Description
•