Fix crash on /f/ from 325235c6881a3f91f2b13855c580678e606a71ee.
This commit is contained in:
parent
325235c688
commit
4af720db33
@ -48,7 +48,7 @@ Sauce =
|
||||
'%URL': post.file.url
|
||||
'%IMG': if ext in ['gif', 'jpg', 'png'] then post.file.url else post.file.thumbURL
|
||||
'%MD5': post.file.MD5
|
||||
'%sMD5': post.file.MD5.replace /[+/=]/g, (c) -> {'+': '-', '/': '_', '=': ''}[c]
|
||||
'%sMD5': post.file.MD5?.replace /[+/=]/g, (c) -> {'+': '-', '/': '_', '=': ''}[c]
|
||||
'%board': post.board.ID
|
||||
'%name': post.file.name
|
||||
'%%': '%'
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user