add new action ajax doesn't handle 412 Precondition Failed very well
I ran into an odd error tonight. I was trying to add an action with the word "ssh" in it, and nothing seemed to be happening when I clicked the "Add Action" button. Using FireBug and reviewing logs, I determined that the request was being sent to apache but no further and was coming back to the browser as "412 Precondition Failed". I believe this is some mod_security setting at my hosting provider, because I was able to add the action by inserting spaces ("s s h"). Tracks' javascript should handle this error condition and similar ones by notifying the user that the action was not added due to an error and provide whatever information is available.
Leave a comment