Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions View/Errors/error400.ctp
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@
<?php endif; ?>

<div class="error-redirect">
<?php echo __d('net_commons', 'The page will be automatically reloaded. If otherwise, please click <a href="%s">here</a>.', $redirect); ?>
<?php echo __d('net_commons', 'The page will be automatically reloaded. If otherwise, please click <a href="%s">here</a>.', Router::url($redirect)); ?>
</div>

<?php
Expand All @@ -40,7 +40,7 @@ if (Configure::read('debug') > 0) {
<script type="text/javascript">
setTimeout(
function() {
location.href='<?php echo h($redirect); ?>'.replace(/&amp;/ig,"&");
location.href='<?php echo h(Router::url($redirect)); ?>'.replace(/&amp;/ig,"&");
},
<?php echo (int)$interval; ?>*1000
);
Expand Down