Skip to content

Use @HtmlSafe annotation for Jira 6.1 escaping problem solve, update jgit version#14

Open
Hubbitus wants to merge 1 commit intomteodori:masterfrom
Hubbitus:master
Open

Use @HtmlSafe annotation for Jira 6.1 escaping problem solve, update jgit version#14
Hubbitus wants to merge 1 commit intomteodori:masterfrom
Hubbitus:master

Conversation

@Hubbitus
Copy link

@Hubbitus Hubbitus commented Apr 2, 2014

Hello.

According to https://developer.atlassian.com/display/CONFDEV/Enabling+XSS+Protection+in+Plugins Html method suffix should solve problem HTML escaping in velocity templates, but it does not work for v6.1 for some reasons. Fix it by add dependency to velocity-htmlsafe and use @HtmlSafe annotation.

Also refresh jgit version and minor changes for compatibility.

…+XSS+Protection+in+Plugins Html method suffix should solve problem HTML escaping in velocity templates, but it does not work for v6.1 for some reasons. Fix it by add dependency to velocity-htmlsafe and use @HtmlSafe annotation.

Also refresh jgit version and minor changes for compatibility.
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.

1 participant