[Bug 38365] Add Content-Security-Policy HTTP header to HTML responses
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=38365 --- Comment #376 from Jonathan Druart <jonathan.druart@gmail.com> --- Created attachment 195272 --> https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=195272&action=edit Bug 38365: Fix no-op //= operator on variable declarations The //= (defined-or assignment) operator on a freshly declared variable is a no-op since the variable is always undef at that point. Replace with simple = assignment. Affects header_name(), header_value(), and is_enabled() methods. Signed-off-by: David Cook <dcook@prosentient.com.au> Signed-off-by: Lari Taskula <lari.taskula@hypernova.fi> Signed-off-by: David Cook <dcook@prosentient.com.au> Signed-off-by: Jonathan Druart <jonathan.druart@bugs.koha-community.org> -- You are receiving this mail because: You are watching all bug changes.
participants (1)
-
bugzilla-daemon@bugs.koha-community.org