forked from extern/egroupware
Added urlencode() to values, becuase the title and url contains spaces and other odd charaters
This commit is contained in:
parent
349b11a41c
commit
286b7327c3
@ -34,7 +34,7 @@
|
|||||||
if ($phpgw_forward) {
|
if ($phpgw_forward) {
|
||||||
while (list($name,$value) = each($HTTP_GET_VARS)) {
|
while (list($name,$value) = each($HTTP_GET_VARS)) {
|
||||||
if (ereg("phpgw_",$name)) {
|
if (ereg("phpgw_",$name)) {
|
||||||
$extra_vars .= "&" . $name . "=$value";
|
$extra_vars .= "&" . $name . "=" . urlencode($value);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
@ -111,7 +111,7 @@
|
|||||||
if ($phpgw_forward) {
|
if ($phpgw_forward) {
|
||||||
while (list($name,$value) = each($HTTP_GET_VARS)) {
|
while (list($name,$value) = each($HTTP_GET_VARS)) {
|
||||||
if (ereg("phpgw_",$name)) {
|
if (ereg("phpgw_",$name)) {
|
||||||
$extra_vars .= "&" . $name . "=$value";
|
$extra_vars .= "&" . $name . "=" . urlencode($value);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
@ -162,7 +162,7 @@
|
|||||||
|
|
||||||
while (list($name,$value) = each($HTTP_GET_VARS)) {
|
while (list($name,$value) = each($HTTP_GET_VARS)) {
|
||||||
if (ereg("phpgw_",$name)) {
|
if (ereg("phpgw_",$name)) {
|
||||||
$extra_vars .= "&" . $name . "=$value";
|
$extra_vars .= "&" . $name . "=" . urlencode($value);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
if ($extra_vars) {
|
if ($extra_vars) {
|
||||||
|
Loading…
Reference in New Issue
Block a user