|
Posted by Rik on 08/01/07 14:44
On Wed, 01 Aug 2007 16:40:34 +0200, Rik <luiheidsgoeroe@hotmail.com> wro=
te:
> On Wed, 01 Aug 2007 16:36:55 +0200, Erwin Moller =
> <Since_humans_read_this_I_am_spammed_too_much@spamyourself.com> wrote:=
>
>> oprah_chopra@yahoo.com wrote:
>>> Less than 1% of my users say they can not open links like this:
>>> index.php?variable=3Dvalue&variable2=3Dvalue2
>>> Is anyone aware of some firewall/security setting that would preven=
t
>>> people from clicking on such types of links?
>>>
>>
>> In short: No, should work.
>> That is if the value1 and value2 are properly URL-encoded.
>
> If the link is 'clicked', it should be urlencoded automatically me =
> thinks...
Me thinks wrong, why the hell did I say that?
If a form is posted using a GET, it should be encoded automatically, not=
=
in a straight URL.
So, in short:
$link =3D htmlspecialchars(<path>).'?'.urlencode(<query_string>);
-- =
Rik Wasmus
[Back to original message]
|