mirror of
https://github.com/rails/rails.git
synced 2022-11-09 12:12:34 -05:00
Use strict_encode64 instead of gsub newline for ScreenshotHelper
This commit is contained in:
parent
76acaf6eb9
commit
7a5886b2b8
1 changed files with 1 additions and 1 deletions
|
@ -80,7 +80,7 @@ module ActionDispatch
|
|||
end
|
||||
|
||||
def inline_base64(path)
|
||||
Base64.encode64(path).gsub("\n", "")
|
||||
Base64.strict_encode64(path)
|
||||
end
|
||||
|
||||
def failed?
|
||||
|
|
Loading…
Reference in a new issue