Yes, I see what you say about parse_url with those type of links.
If you plan to use:
Code:
list($url['path'], $url['query']) = split("\?", str_replace('\'"','',$eval));
In place of:
Code:
$url = @parse_url(str_replace('\'"','',$eval));
Then in phpdigRewriteUrl add:
Code:
if (!eregi("[?]",$eval)) {
$eval .= "?";
}
Right before:
Code:
list($url['path'], $url['query']) = split("\?", str_replace('\'"','',$eval));
Otherwise, you can receive "undefined offset" notices when error reporting is on high.
Note: it's not enough to comment out the "remove ending question mark" line as phpdigRewriteUrl is called in various places with various content.