Restore the normalize check that appears to be inadvertantly removed (#1802)

* Add test for normalize on upload

Co-authored-by: Dawa Ometto <d.ometto@gmail.com>
This commit is contained in:
Paul Westcott
2022-05-25 00:13:35 +10:00
committed by GitHub
parent 0d2ab11604
commit 860e8b2ebd
2 changed files with 18 additions and 4 deletions
+1 -1
View File
@@ -273,7 +273,7 @@ module Precious
options.merge! author
end
normalize = Gollum::Page.valid_extension?(fullname)
options[:normalize] = Gollum::Page.valid_extension?(fullname)
begin
wiki.write_file(reponame, contents, options)