Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[mod_login] Always use htmlspecialchars($str, ENT_COMPAT, 'UTF-8') #10406

Merged
merged 3 commits into from May 24, 2016

Conversation

zero-24
Copy link
Member

@zero-24 zero-24 commented May 11, 2016

Pull Request for Issue #10399 .

Summary of Changes

Always use htmlspecialchars($str, ENT_COMPAT, 'UTF-8')

Testing Instructions

  • Enable the mod_login module to the frontend
  • see that it works (login)
  • see that it works (logout)
  • apply this patch
  • see that it works (login)
  • see that it works (logout)

@brianteeman
Copy link
Contributor

I have tested this item ✅ successfully on 8a3e663


This comment was created with the J!Tracker Application at issues.joomla.org/joomla-cms/10406.

1 similar comment
@BurtNL
Copy link
Contributor

BurtNL commented May 12, 2016

I have tested this item ✅ successfully on 8a3e663


This comment was created with the J!Tracker Application at issues.joomla.org/joomla-cms/10406.

@brianteeman
Copy link
Contributor

RTC


This comment was created with the J!Tracker Application at issues.joomla.org/joomla-cms/10406.

@joomla-cms-bot joomla-cms-bot added the RTC This Pull Request is Ready To Commit label May 12, 2016
@brianteeman brianteeman added this to the Joomla 3.6.0 milestone May 12, 2016
} endif; ?>
<?php if ($params->get('name') == 0) : ?>
<?php echo JText::sprintf('MOD_LOGIN_HINAME', htmlspecialchars($user->get('name')), ENT_COMPAT, 'UTF-8'); ?>
<?php else : ?>
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Parentheses is in the wrong place.

@andrepereiradasilva
Copy link
Contributor

@brianteeman same thing. Please remove the RTC.

@wojsmol
Copy link
Contributor

wojsmol commented May 14, 2016

@zero-24 @andrepereiradasilva Please see zero-24#13

@joomla-cms-bot
Copy link

This PR has received new commits.

CC: @brianteeman, @BurtNL


This comment was created with the J!Tracker Application at issues.joomla.org/joomla-cms/10406.

@andrepereiradasilva
Copy link
Contributor

seems fine to me now.

@zero-24
Copy link
Member Author

zero-24 commented May 14, 2016

Back to Pending. Thanks @wojsmol and @andrepereiradasilva


This comment was created with the J!Tracker Application at issues.joomla.org/joomla-cms/10406.

@joomla-cms-bot joomla-cms-bot removed the RTC This Pull Request is Ready To Commit label May 14, 2016
@joomla-cms-bot
Copy link

This PR has received new commits.

CC: @brianteeman, @BurtNL


This comment was created with the J!Tracker Application at issues.joomla.org/joomla-cms/10406.

@andrepereiradasilva
Copy link
Contributor

I have tested this item ✅ successfully on fd6e877

on code review


This comment was created with the J!Tracker Application at issues.joomla.org/joomla-cms/10406.

@brianteeman
Copy link
Contributor

I have tested this item ✅ successfully on fd6e877


This comment was created with the J!Tracker Application at issues.joomla.org/joomla-cms/10406.

@brianteeman
Copy link
Contributor

RTC


This comment was created with the J!Tracker Application at issues.joomla.org/joomla-cms/10406.

@joomla-cms-bot joomla-cms-bot added the RTC This Pull Request is Ready To Commit label May 23, 2016
@roland-d roland-d merged commit 14d6b0f into joomla:staging May 24, 2016
@joomla-cms-bot joomla-cms-bot removed the RTC This Pull Request is Ready To Commit label May 24, 2016
@roland-d
Copy link
Contributor

Thanks everybody

@zero-24 zero-24 deleted the patch-16 branch May 24, 2016 11:11
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

7 participants