Quote:
Originally Posted by sabret00the
in calling the homepage as $userinfo[homepage] is their any security risks if i just have
HTML Code:
<a href="$userinfo[homepage]">$userinfo[homepage]</a>
|
I believe that quotes are stripped from the URL so it should be fine. As a test, change your profile home page to (including the quotes):
Code:
" onMouseOver="alert('foo')
Then move your mouse over the resulting link and see if you get a Javascript alert.
edit: Also try this important test:
Code:
javascript:alert('foo')
...and click the link and see what happens.