Changeset 1570

Show
Ignore:
Timestamp:
03/20/08 19:30:09 (2 months ago)
Author:
Neal
Message:

Fixed duplication of rewrite rules that could lead to issues.

Files:

Legend:

Unmodified
Added
Removed
Modified
Copied
Moved
  • branches/punbb-1.3-dev/upload/include/rewrite_rules.php

    r1560 r1570  
    3939        '/^user[\/_-]?([0-9]+)(\.html?|\/)?$/i'                                                                                                                                                                 =>      'profile.php?id=$1', 
    4040        '/^user[\/_-]?([0-9]+)[\/_-]?([a-z]+)(\.html?|\/)?$/i'                                                                                                                                  =>      'profile.php?section=$2&id=$1', 
    41         '/^(change|delete|upload)[\/_-]?(email|pass|avatar|user)(word)?[\/_-]?([0-9]+)[\/_-]?([a-z0-9]+)?(\.html?|\/)?$/i'             =>      'profile.php?action=$1_$2&id=$4&csrf_token=$5', 
     41        '/^(delete|upload)[\/_-]?(avatar|user)?[\/_-]?([0-9]+)[\/_-]?([a-z0-9]+)?(\.html?|\/)?$/i'                                                             =>      'profile.php?action=$1_$2&id=$3&csrf_token=$4', 
    4242        '/^change[\/_-]?(email|pass)(word)?[\/_-]?([0-9]+)[\/_-]([a-zA-Z0-9]+)(\.html?|\/)?$/i'                                                                 =>      'profile.php?action=change_$1&id=$3&key=$4', 
    4343        '/^search[\/_-]?(new|recent|unanswered|subscriptions)(\.html?|\/)?$/i'                                                                                                  =>      'search.php?action=show_$1',