Leechael
unread,Jan 8, 2009, 11:06:08 AM1/8/09Sign in to reply to author
Sign in to forward
You do not have permission to delete messages in this group
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to php-outline
line 155:
list($var, $from, $to, $by) = array($exp[1], $exp[2], $exp[3], (!isset
($exp[5]) ? 1 : $exp[5]));
If $exp[5] hasn't been provided, an error occurs; also this problem
resolved by the at sign('@'), but it isn't cleanly. Codes above can
resolve this problem perfectly.
line 186:
$this->foreach_stack[] = crc32($args);
I think do simple hashing here is ok. Maybe this alteration slower
than original codes, but it's more safe.The original version:
explode(" ", $args, 2) // other codes in this line are not
important....
will triggers an error, cause the third parameter must be a variable.
Also I added url encode function to modifiers.php, I think it's
helpful:
function outline__urlencode ($str)
{
return urlencode($str);
}