Changeset 14394

Show
Ignore:
Timestamp:
01/13/08 20:42:14 (11 months ago)
Author:
flack
Message:

don't relocate when POST data exists, otherwise it gets lost

Files:

Legend:

Unmodified
Added
Removed
Modified
Copied
Moved
  • trunk/midcom/midcom.core/midcom.php

    r14212 r14394  
    2828 * This makes life much, much better when making static copies for whatever reason 
    2929 */ 
    30 if (!preg_match('%\?|/$|midcom-.+-|/.+\..+$%', $_SERVER['REQUEST_URI'])) 
     30if (!preg_match('%\?|/$|midcom-.+-|/.+\..+$%', $_SERVER['REQUEST_URI']) 
     31    && (!isset($_POST) || sizeof($_POST) < 1)) 
    3132{ 
    3233    header('HTTP/1.0 301 Moved Permanently');