Skip to content

Commit

Permalink
Do not double HTML encode URL
Browse files Browse the repository at this point in the history
PMA_generate_common_url already does HTML encoding, so there is no need
to do that again (bug #4026).
  • Loading branch information
nijel committed Aug 7, 2013
1 parent 2684d0a commit 01ebe9c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion server_variables.php
Expand Up @@ -125,7 +125,7 @@
/**
* Link templates
*/
$url = htmlspecialchars('server_variables.php?' . PMA_generate_common_url());
$url = 'server_variables.php?' . PMA_generate_common_url();
$output .= '<a style="display: none;" href="#" class="editLink">';
$output .= PMA_Util::getIcon('b_edit.png', __('Edit')) . '</a>';
$output .= '<a style="display: none;" href="' . $url . '" class="ajax saveLink">';
Expand Down

0 comments on commit 01ebe9c

Please sign in to comment.