Dotclear

Changeset 2873:87714a6289b7


Ignore:
Timestamp:
12/23/14 11:47:23 (9 years ago)
Author:
franck <carnet.franck.paul@…>
Branch:
2.7
Message:

Not necessary to rawurlencode() the current folder as adminurl->get (or ->redirect) will, fixes #2029

Files:
2 edited

Legend:

Unmodified
Added
Removed
  • admin/media.php

    r2858 r2873  
    7777$page_url_params = new ArrayObject(array('popup' => $popup,'post_id' => $post_id)); 
    7878if ($d) { 
    79      $page_url_params ['d'] = rawurlencode($d); 
     79     $page_url_params['d'] = $d; 
    8080} 
    8181if ($plugin_id != '') { 
    82      $page_url_params ['plugin_id'] = $plugin_id; 
     82     $page_url_params['plugin_id'] = $plugin_id; 
    8383} 
    8484 
  • inc/admin/lib.dc.adminurl.php

    r2858 r2873  
    9797      * @param  array  $params    query string parameters, given as an associative array 
    9898      * @param  boolean $urlencode set to true if url may not be encoded 
    99       * @param  string $separator separator to use between QS parameters 
     99      * @param  string $suffix suffix to be added to the QS parameters 
    100100      * @return string            the forged url 
    101101      */ 
Note: See TracChangeset for help on using the changeset viewer.

Sites map