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

View refactorings #8

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

Conversation

jkraemer
Copy link

This PR addresses a few potential security problems due to usage of raw and lack of javascript escaping:

  • replaces all usages of the raw helper in views with safer alternatives.
  • introduces Javascript-escaping via the j helper.

Also some general refactorings:

  • extracted the progress_for_changeset helper method
  • re-used the existing show_assignments helper in another place
  • removed controller and request context arguments as these do not needed to be passed around like this

@coveralls
Copy link

coveralls commented Mar 12, 2018

Coverage Status

Coverage decreased (-0.1%) to 87.613% when pulling 40143ef on planio-gmbh:view-refactorings into 61f3a34 on haru:master.

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