This is an archived snapshot of W3C's public bugzilla bug tracker, decommissioned in April 2019. Please see the home page for more details.

Bug 12887 - DataTransfer.getData("text/uri-list"): please define that spaces must be trimmed from /result/
Summary: DataTransfer.getData("text/uri-list"): please define that spaces must be trim...
Alias: None
Product: HTML WG
Classification: Unclassified
Component: LC1 HTML5 spec (show other bugs)
Version: unspecified
Hardware: Other other
: P3 normal
Target Milestone: ---
Assignee: Ian 'Hixie' Hickson
QA Contact: HTML WG Bugzilla archive list
Depends on:
Reported: 2011-06-04 12:52 UTC by contributor
Modified: 2011-09-30 17:35 UTC (History)
6 users (show)

See Also:


Description contributor 2011-06-04 12:52:26 UTC

DataTransfer.getData("text/uri-list"): please define that spaces must be
trimmed from /result/

Posted from: by
User agent: Mozilla/5.0 (X11; Linux i686; rv:7.0a1) Gecko/20110603 Firefox/7.0a1
Comment 1 Michael[tm] Smith 2011-08-04 05:05:24 UTC
mass-moved component to LC1
Comment 2 Ian 'Hixie' Hickson 2011-08-11 22:33:17 UTC
Can you elaborate? What's the reasoning here?
Comment 3 Ms2ger 2011-08-12 08:35:36 UTC
It's what at least Gecko and WebKit do, based on code inspection.
Comment 4 Ian 'Hixie' Hickson 2011-08-31 23:17:59 UTC
Isn't that already covered by "If convert-to-URL is true, then parse result as appropriate for text/uri-list data, and then set result to the first URL from the list, if any, or the empty string otherwise. [RFC2483]"?
Comment 5 Ms2ger 2011-09-01 07:44:59 UTC
Unsurprisingly, the RFC seems to be silent on this.
Comment 6 Ian 'Hixie' Hickson 2011-09-21 22:56:40 UTC
I just meant the "the first URL" part. URLs don't start or end with spaces, so...?
Comment 7 Ian 'Hixie' Hickson 2011-09-28 23:23:31 UTC
EDITOR'S RESPONSE: This is an Editor's Response to your comment. If you are satisfied with this response, please change the state of this bug to CLOSED. If you have additional information and would like the editor to reconsider, please reopen this bug. If you would like to escalate the issue to the full HTML Working Group, please add the TrackerRequest keyword to this bug, and suggest title and text for the tracker issue; or you may create a tracker issue yourself, if you are able to do so. For more details, see this document:

Status: Rejected
Change Description: no spec change
Rationale: see comment 6