1
0
Fork 0
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:
Bart de Water 2018-04-23 22:44:20 -04:00
parent 76acaf6eb9
commit 7a5886b2b8

View file

@ -80,7 +80,7 @@ module ActionDispatch
end
def inline_base64(path)
Base64.encode64(path).gsub("\n", "")
Base64.strict_encode64(path)
end
def failed?