Skip to content

Commit

Permalink
fix for #7051/7257: Port: Fix for #6869 / #7034 removes quoted "?" fr…
Browse files Browse the repository at this point in the history
…om arguments

git-svn-id: http://mantisbt.svn.sourceforge.net/svnroot/mantisbt/trunk@4112 f5dc347c-c33d-0410-90a0-b07cc1902cb9
  • Loading branch information
thraxisp committed Jul 5, 2006
1 parent 55cabd9 commit 3bca348
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions core/string_api.php
Expand Up @@ -6,7 +6,7 @@
# See the README and LICENSE files for details

# --------------------------------------------------------
# $Id: string_api.php,v 1.81 2006-03-20 02:58:20 thraxisp Exp $
# $Id: string_api.php,v 1.82 2006-07-05 03:14:07 thraxisp Exp $
# --------------------------------------------------------

$t_core_dir = dirname( __FILE__ ).DIRECTORY_SEPARATOR;
Expand Down Expand Up @@ -194,7 +194,6 @@ function string_sanitize_url( $p_url ) {
list( $t_path, $t_param ) = split( '\?', $t_url, 2 );
if ( $t_param !== "" ) {
$t_vals = array();
$t_param = str_replace( '?','', $t_param );
parse_str( $t_param, $t_vals );
$t_param = '';
foreach($t_vals as $k => $v) {
Expand Down

0 comments on commit 3bca348

Please sign in to comment.