Hello
there is a little bug in redirect.php
it happen when you have now argument in the url (example for
http://foo.fr/toto the result of redirect is http://foo.fr/toto& )
one good way to correct this could be to test the variable $_GET to see
if it empty
here is the code
hope is help
if(!function_exists(‘html_entity_decode’))
{
function html_entity_decode($given_html, $quote_style =
ENT_QUOTES)
{
$trans_table =
array_flip(get_html_translation_table( HTML_SPECIALCHARS, $quote_style));
$trans_table[’’’] = “’”;
return(strtr($given_html, $trans_table));
}
}
if($_GET['go'])
{
$url= html_entity_decode(urldecode($_GET['go']));
unset($_GET['go']);
if ( !empty($_GET) ) {
$url=$url."&".http_build_query($_GET);
}
Header('Location: ' . html_entity_decode(urldecode($url)));
// Header('Location: ’ .
html_entity_decode(urldecode($_GET[‘go’])));
exit;
}
else
{
echo “this won’t work!!”;
}
?>
Download Intel® Parallel Studio Eval
Try the new software tools for yourself. Speed compiling, find bugs
proactively, and fine-tune applications for parallel performance.
See why Intel Parallel Studio got high marks during beta.
http://p.sf.net/sfu/intel-sw-dev
eGroupWare-developers mailing list
eGroupWare-developers@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/egroupware-developers