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