Skip to content

Commit ef92941

Browse files
author
Mubashar Ahmad
committed
no message
1 parent be0925e commit ef92941

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

src/Http/dialog.php

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -476,7 +476,8 @@
476476
<input type="hidden" id="file_number_limit_js" value="<?php echo $config['file_number_limit_js']; ?>"/>
477477
<input type="hidden" id="sort_by" value="<?php echo $sort_by; ?>"/>
478478
<input type="hidden" id="descending" value="<?php echo $descending ? 1 : 0; ?>"/>
479-
<input type="hidden" id="current_url" value="<?php echo str_replace(array('&filter=' . $filter, '&sort_by=' . $sort_by, '&descending=' . intval($descending)), array(''), $config['base_url'] . htmlspecialchars($_SERVER['REQUEST_URI'])); ?>"/>
479+
<input type="hidden" id="request_uri" value="<?php echo htmlspecialchars($_SERVER['REQUEST_URI']) ?>"/>
480+
<input type="hidden" id="current_url" value="<?php echo str_replace(array('&filter=' . $filter, '&sort_by=' . $sort_by, '&descending=' . intval($descending)), array(''), $config['base_url'] . ltrim(htmlspecialchars($_SERVER['REQUEST_URI']),'/')); ?>"/>
480481
<input type="hidden" id="lang_show_url" value="<?php echo __('Show_url'); ?>"/>
481482
<input type="hidden" id="copy_cut_files_allowed" value="<?php echo $config['copy_cut_files'] ? 1 : 0; ?>"/>
482483
<input type="hidden" id="copy_cut_dirs_allowed" value="<?php echo $config['copy_cut_dirs'] ? 1 : 0; ?>"/>

0 commit comments

Comments
 (0)