Skip to content

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

Merged
roland-d merged 3 commits intojoomla:stagingfrom
zero-24:patch-16
May 24, 2016
Merged

[mod_login] Always use htmlspecialchars($str, ENT_COMPAT, 'UTF-8')#10406
roland-d merged 3 commits intojoomla:stagingfrom
zero-24:patch-16

Conversation

@zero-24
Copy link
Copy Markdown
Contributor

@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
Copy Markdown
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
Copy Markdown

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
Copy Markdown
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
Copy Markdown
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
Copy Markdown
Contributor

@brianteeman same thing. Please remove the RTC.

@wojsmol
Copy link
Copy Markdown
Contributor

wojsmol commented May 14, 2016

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

@joomla-cms-bot
Copy link
Copy Markdown

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
Copy Markdown
Contributor

seems fine to me now.

@zero-24
Copy link
Copy Markdown
Contributor 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
Copy Markdown

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
Copy Markdown
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
Copy Markdown
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
Copy Markdown
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
Copy Markdown
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.

7 participants