• Dries's avatar
    Patch 6523 by Steven: · ccde65cf
    Dries authored
    - Strips the leading / from URLs to match with block paths. The reason is that everywhere else in Drupal, we use URLs without leading slash (e.g. URL aliasing). For consistency we should keep this behaviour everywhere. The replacement uses ereg_replace instead of str_replace, but the expression now only match the beginning of the URI so in fact it's faster, esp. for longer URIs.
    
    - Updates the block docs about path matching: gets rid of leading slash, adds initial matching o
    perator '^' and emphasises the slash behaviour (which was not mentioned anywhere before)
    
    - Replaces the example expression for a negative match. It was horribly broken and odd, the repl
    acement in this patch is correct and simpler.
    ccde65cf
Name
Last commit
Last update
database Loading commit data...
includes Loading commit data...
misc Loading commit data...
modules Loading commit data...
scripts Loading commit data...
themes Loading commit data...
.htaccess Loading commit data...
CHANGELOG.txt Loading commit data...
INSTALL.txt Loading commit data...
LICENSE.txt Loading commit data...
MAINTAINERS.txt Loading commit data...
cron.php Loading commit data...
favicon.ico Loading commit data...
index.php Loading commit data...
update.php Loading commit data...
xmlrpc.php Loading commit data...