Changeset 613


Ignore:
Timestamp:
02/17/2011 12:38:23 PM (15 months ago)
Author:
ofer
Message:

Fix url rewrite issue with escaped characters reported by Angel Torregrosa

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/WordPress/plugin/transposh/core/utils.php

    r601 r613  
    309309    public static function get_original_url($href, $home_url, $target_language, $fetch_translation_func) { 
    310310        $href = substr($href, strlen($home_url)); 
    311         $url = urldecode($href); 
     311        $url = stripslashes(urldecode($href)); 
    312312        $url = (($pos = strpos($url, '?')) ? substr($url, 0, $pos) : $url); 
    313313        $url2 = ''; 
Note: See TracChangeset for help on using the changeset viewer.