W3C home > Mailing lists > Public > whatwg@whatwg.org > June 2007

[whatwg] The problem of duplicate ID as a security issue

From: Ian Hickson <ian@hixie.ch>
Date: Fri, 8 Jun 2007 06:13:07 +0000 (UTC)
Message-ID: <Pine.LNX.4.64.0706080612080.18578@dhalsim.dreamhost.com>
On Thu, 7 Jun 2007, Alexey Feldgendler wrote:
>
> On Thu, 07 Jun 2007 00:42:31 +0200, Ian Hickson <ian at hixie.ch> wrote:
> 
> > > IDs in user-supplied content are only useful as fragment identifiers for
> > > URLs, and mangling them like that defeats this use case because you
> > > don't know N before you post the comment, and therefore can't make
> > > internal links within the body (and it's also unobvious when you try to
> > > make links to parts of your article afterwards).
> 
> > True. I don't have a good solution to this that doesn't involve code on
> > the server-side, though.
> 
> Some form of sandboxing would be one.

If sandboxing would solve it then I'll treat this issue as closed and deal 
with the sandboxing problems separately.

-- 
Ian Hickson               U+1047E                )\._.,--....,'``.    fL
http://ln.hixie.ch/       U+263A                /,   _.. \   _\  ;`._ ,.
Things that are impossible just take longer.   `._.-(,_..'--(,_..'`-.;.'
Received on Thursday, 7 June 2007 23:13:07 UTC

This archive was generated by hypermail 2.4.0 : Wednesday, 22 January 2020 16:58:56 UTC