Skip to content

Commit

Permalink
Update README.md to indicate skip_ssrf_protection should be used only…
Browse files Browse the repository at this point in the history
… when necessary

Co-authored-by: Yohta Kimura <[email protected]>
  • Loading branch information
mshibuya and rajyan authored Dec 3, 2023
1 parent 0916696 commit 0196b21
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -659,7 +659,11 @@ end
## Testing with CarrierWave

It's a good idea to test your uploaders in isolation. In order to speed up your
tests, it's recommended to switch off processing in your tests, disable SSRF protection, and to use the
tests, it's recommended to switch off processing in your tests, and to use the file storage.
Also, you can disable SSRF protection at your own risk using the `skip_ssrf_protection` configuration.

In Rails you could do that by adding an initializer with:

file storage. In Rails you could do that by adding an initializer with:

```ruby
Expand Down

0 comments on commit 0196b21

Please sign in to comment.