[dev] Re: [cvs] commit: imp compose.php

Jason M. Felice jfelice at cronosys.com
Tue Nov 30 15:04:46 PST 2004


On Tue, Nov 30, 2004 at 11:33:22PM +0100, Jan Schneider wrote:
> Zitat von Jason Felice <jfelice at cronosys.com>:
> 
> >eraserhd    2004-11-30 10:41:43 PST
> >
> >  Modified files:
> >    .                    compose.php
> >  Log:
> >  * Don't encode mailbox return URLs used in header().
> 
> URLs being called through javascript must not be encoded either. It looks
> like you don't need the $encode parameter at all. Well maybe for future
> usage.

How would they not need to be encoded?  They still have to be valid
XHTML, no?

Like '<body onload="javascript:window.location = 'http://example.com?foo=1&bar=2';" />' would be invalid, right?

-- 
 Jason M. Felice
 Cronosys, LLC <http://www.cronosys.com/>
 216.221.4600 x302


More information about the dev mailing list