Skip to content

Escaping of user input - #1

Open
lefloh wants to merge 4 commits into
mscharhag:masterfrom
lefloh:master
Open

Escaping of user input#1
lefloh wants to merge 4 commits into
mscharhag:masterfrom
lefloh:master

Conversation

@lefloh

@lefloh lefloh commented Feb 18, 2016

Copy link
Copy Markdown

Hello,

I think this tutorial should show best practices and should not be prone to XSS. This PR escapes user input via ${mvc.encoders.html(input)}. Therefore I upgraded Ozark to 1.0.0-m02.

best regards
Flo

@mscharhag

Copy link
Copy Markdown
Owner

Hi lefloh,

thanks for your pull request. You are right that the examples should not be prone to XSS.
I will look into this but please note that this may take some time (I probably need to update some blog posts related to the examples).

Cheers

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.

2 participants