gitlab-org--gitlab-foss/app/views/peek
blackst0ne 350e26b8a6 [Rails5] Use `safe_params` instead of `params` in `url_for` helpers
This commits replaces `params` with `safe_params` in `url_for` helpers
to resolve security issues [1] and failing specs with the

```
ArgumentError:
  Attempting to generate a URL from non-sanitized request parameters!
  An attacker can inject malicious data into the generated URL, such as
  changing the host. Whitelist and sanitize passed parameters to be secure.
```

error.

[1]: https://gitlab.com/gitlab-org/gitlab-ce/issues/45168
2018-04-28 21:35:16 +11:00
..
views Show Ajax requests in performance bar 2018-03-19 19:06:09 +00:00
_bar.html.haml [Rails5] Use `safe_params` instead of `params` in `url_for` helpers 2018-04-28 21:35:16 +11:00