Topic: Page 1 posts a postfield which gives a http 409 error
Page 1 of the installation posts a field named 'continue'. It's value is 'Continue >>', but my hosting provider gives me this in the error log:
ModSecurity: Access denied with code 409 (phase 2). Pattern match "(< ?(?:script|about|applet|activex|chrome).*(?:script|about|applet|activex|chrome) ?>|> ?< ?(img ?src|a ?href) ?= ?(ht|f)tps?:/|" ?> ?<|" ?[a-z]+ ?<.*>|> ?"? ?(>|<)|< ?/?i?frame)" at ARGS:continue. [file "/etc/asl/10_asl_rules.conf"] [line "570"] [id "340147"] [rev "25"] [msg "Generic XSS filter"] [severity "CRITICAL"] [hostname "keep_this_secret"] [uri "/install/index.php"] [unique_id "DYAMXn8AAAEAAAgvTbYAAAA2"]
I solved this by changing the following line in file /install/index.php
submit_center('continue', _('Continue >>'));
into
submit_center('continue', _('Continue'));
The code only checks for a postfield 'continue' with isset, so the value isn't checked.
I hope this weird kind of submit values doesn't encounter me while using FrontAccount, but I'll find out soon enough.
After going through the setup, it seems all pages send this 'continue' form submit. So I had to manipulate all the forms, before sending them.