W3C home > Mailing lists > Public > public-webapps@w3.org > April to June 2014

Re: Blob URL Origin

From: Kyle Huey <me@kylehuey.com>
Date: Mon, 19 May 2014 09:51:10 -0700
Message-ID: <CAP045ArOurUVwirjbq5Az5mYPJ9G3av1p6LyUdWCt5UuEWuBGA@mail.gmail.com>
To: Frederik Braun <fbraun@mozilla.com>
Cc: Glenn Maynard <glenn@zewt.org>, Jonas Sicking <jonas@sicking.cc>, Anne van Kesteren <annevk@annevk.nl>, Boris Zbarsky <bzbarsky@mit.edu>, WebApps WG <public-webapps@w3.org>
On Mon, May 19, 2014 at 2:33 AM, Frederik Braun <fbraun@mozilla.com> wrote:
> On 15.05.2014 22:46, Glenn Maynard wrote:
>> On Thu, May 15, 2014 at 12:07 PM, Jonas Sicking <jonas@sicking.cc
>> <mailto:jonas@sicking.cc>> wrote:
>>     On Thu, May 15, 2014 at 6:52 AM, Anne van Kesteren <annevk@annevk.nl
>>     <mailto:annevk@annevk.nl>> wrote:
>>     > I was thinking about the latter and that would not work if the URL was
>>     > revoked. Unless we store origin at parse time.
>>     Good point. Without using the explicit syntax we couldn't return a
>>     consistent result for the origin.
> I'm not against the explicit model, but I think it would be very
> desirable if there was a way to get the origin out of the blob URL with
> some sort of API.
> It's not unlikely that developers will implement their own (flawed) URL
> parsing to determine the origin of a blob URL, if it's explicitly in the
> blob URL.

There's no way to extract the origin from the blob URL.  The URL is
just something of the form

- Kyle
Received on Monday, 19 May 2014 16:51:37 UTC

This archive was generated by hypermail 2.4.0 : Friday, 17 January 2020 18:14:24 UTC