mirror of
https://github.com/discourse/discourse.git
synced 2025-02-25 18:55:32 -06:00
FEATURE: [Experimental] Content Security Policy (#6514)
do not register new MIME type, parse raw body instead
This commit is contained in:
@@ -1,9 +1,14 @@
|
||||
class FakeLogger
|
||||
attr_reader :warnings, :errors
|
||||
attr_reader :warnings, :errors, :infos
|
||||
|
||||
def initialize
|
||||
@warnings = []
|
||||
@errors = []
|
||||
@infos = []
|
||||
end
|
||||
|
||||
def info(message = nil)
|
||||
@infos << message
|
||||
end
|
||||
|
||||
def warn(message)
|
||||
|
||||
Reference in New Issue
Block a user