|
From: Xephyrus <xep...@xe...> - 2003-03-12 18:38:51
|
Hi Pete, You can't use HTML character entities in URL's. If you need to encode special characters in a URL, use URL encoding (that funky percent sign thing). Using & in a URL stream will prepend amp; to the name of the parameter being specified. So instead of setting 'image' to 10, you're setting 'amp;image' to 10. . Topher > > If I use this url: > > http://jedit.org/index.php?page=screenshot&image=10 > > it works... > > > If I use this url: > > http://jedit.org/index.php?page=screenshot&image=10 > > it doesn't work. > > > By "works" and "doesn't work" I mean this, in the first one the img tag > for the screenshot is rendered like so: > > <img src="jedit-snap-10.png" alt="Screenshot"> > > > and in the second it's like this: > > <img src="jedit-snap-.png" alt="Screenshot"> > > > So the screenshot doesn't display on the second one. It seems using > & in the url prevents the 'image=10' from being passed... > > ???? > > > Pete > > > _____________________________________________________ > For more information about Cygnus Business Media, please visit our Web > site at www.cygnusb2b.com > > > ------------------------------------------------------- > This SF.net email is sponsored by:Crypto Challenge is now open! > Get cracking and register here for some mind boggling fun and > the chance of winning an Apple iPod: > http://ads.sourceforge.net/cgi-bin/redirect.pl?thaw0031en > -- > ----------------------------------------------- > jEdit Users' List > jEd...@li... > https://lists.sourceforge.net/lists/listinfo/jedit-users |