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

Security refinements applied #207

Open
wants to merge 3 commits into
base: master
Choose a base branch
from

Conversation

emfluenceindia
Copy link

Hi,
I have applied some security refinements based on PHPCS report using WordPress-Extra standards.
It would be nice if you please review them.

Thank you!

File: SettingsPage.php
Ignored issues are at line numbers 608 and 665
Resons: explained with corresposing lines.
File: aad-sso-wordpress.php
Igonred issues are at line nos. 628 through 631
Reason: var_export function returns mized output.
File: view/settings.php
Issue: unescaped wp_nonce_url function.
@bradkovach
Copy link
Contributor

@psignoret this looks like a really welcome improvement. Pretty straightforward. Nice work @emfluenceindia :-)

@emfluenceindia
Copy link
Author

emfluenceindia commented Oct 22, 2018 via email

@bradkovach
Copy link
Contributor

FWIW, these will escape raw HTML, so instead of a formatted code tag, you will see verbatim <code>AADSSO_SETTINGS_PATH</code> on the rendered page.

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

2 participants