Ticket #10733: rewrite.php.diff
File rewrite.php.diff, 500 bytes (added by , 15 years ago) |
---|
-
rewrite.php
old new 1276 1276 } 1277 1277 } 1278 1278 1279 // Escape dollars in permalinks to avoid possible code injection later 1280 $permalink_structure = str_replace('$', '\$', $permalink_structure); 1279 1281 //get everything up to the first rewrite tag 1280 1282 $front = substr($permalink_structure, 0, strpos($permalink_structure, '%')); 1281 1283 //build an array of the tags (note that said array ends up being in $tokens[0])