Environment
Discourse Version: v3.1.0.beta2 +607
Plugin Commit: 345885bd
Steps to Reproduce
A user created a topic and the text in one the fields caused a liquid syntax error. They first saw the !doctype.HTML error on the wizard, now they are stuck with a 500 error when visiting the wizard again. I was able to repro this by using their text, but not otherwise. They put in `This handsome male pileated woodpecker is a daily visitor to our backyard suet block. It’s my buddy “Woody” (Woody Woodpecker’s look was inspired by a pileated).', now I’m stuck with the 500 error. I tried turning on “Clear submissions on each visit.” and it did not help.
Example
Angus still has admin access to view this
Logs
Liquid::SyntaxError (Liquid syntax error: Expected end_of_string but found id in ““This handsome male pileated woodpecker is a daily visitor to our backyard suet block. It’s my buddy “Woody” (Woody Woodpecker’s look was inspired by a pileated).” != “””)
app/controllers/application_controller.rb:414:in block in with_resolved_locale' app/controllers/application_controller.rb:414:in
with_resolved_locale’
lib/middleware/omniauth_bypass_middleware.rb:74:in call' lib/content_security_policy/middleware.rb:12:in
call’
lib/middleware/anonymous_cache.rb:369:in call' config/initializers/008-rack-cors.rb:24:in
call’
config/initializers/100-quiet_logger.rb:20:in call' config/initializers/100-silence_logger.rb:29:in
call’
lib/middleware/enforce_hostname.rb:24:in call' lib/middleware/request_tracker.rb:228:in
call’
Also another user got an error with this:
Liquid::SyntaxError (Liquid syntax error: Unexpected character ! in ““Sedona averages one inch of snow a year. I happened to be there when it received 12” of snow in one day. It was a photographers dream!” != “”")
app/controllers/application_controller.rb:414:in block in with_resolved_locale' app/controllers/application_controller.rb:414:in
with_resolved_locale’
lib/middleware/omniauth_bypass_middleware.rb:74:in call' lib/content_security_policy/middleware.rb:12:in
call’
lib/middleware/anonymous_cache.rb:369:in call' config/initializers/008-rack-cors.rb:24:in
call’
config/initializers/100-quiet_logger.rb:20:in call' config/initializers/100-silence_logger.rb:29:in
call’
lib/middleware/enforce_hostname.rb:24:in call' lib/middleware/request_tracker.rb:228:in
call’
And the wizard:
nature-photographers-network-wizards-1678929807.json (13.8 KB)