Changeset 3896 for branches/1.1/bb-login.php
- Timestamp:
- 05/12/2012 09:25:55 PM (12 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/1.1/bb-login.php
r2742 r3896 13 13 14 14 // Look for 'redirect_to' 15 if ( isset( $_REQUEST['redirect_to'] ) )15 if ( isset( $_REQUEST['redirect_to'] ) && is_string( $_REQUEST['redirect_to'] ) ) 16 16 $re = $_REQUEST['redirect_to']; 17 17 18 18 // Look for 're' 19 if ( empty( $re ) && isset( $_REQUEST['re'] ) )19 if ( empty( $re ) && isset( $_REQUEST['re'] ) && is_string( $_REQUEST['re'] ) ) 20 20 $re = $_REQUEST['re']; 21 21 … … 32 32 if ( false !== strpos( $re, $home_path . 'register.php' ) || false !== strpos( $re, $home_path . 'bb-reset-password.php' ) ) 33 33 $re = bb_get_uri( null, null, BB_URI_CONTEXT_HEADER ); 34 34 35 } 35 36
Note: See TracChangeset
for help on using the changeset viewer.