Skip to content

Commit

Permalink
Fix XSS vulnerability
Browse files Browse the repository at this point in the history
  • Loading branch information
Danielss89 committed Jan 8, 2015
1 parent 1827610 commit baf0e46
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion view/zfc-user/user/login.phtml
Original file line number Diff line number Diff line change
Expand Up @@ -28,5 +28,5 @@ $form->setAttribute('method', 'post');
<?php echo $this->form()->closeTag() ?>

<?php if ($this->enableRegistration) : ?>
<?php echo $this->translate('Not registered?'); ?> <a href="<?php echo $this->url('zfcuser/register') . ($this->redirect ? '?redirect='.$this->redirect : '') ?>"><?php echo $this->translate('Sign up!'); ?></a>
<?php echo $this->translate('Not registered?'); ?> <a href="<?php echo $this->url('zfcuser/register') . ($this->redirect ? '?redirect='.$this->escapeUrl($this->redirect) : '') ?>"><?php echo $this->translate('Sign up!'); ?></a>
<?php endif; ?>

0 comments on commit baf0e46

Please sign in to comment.