Fix EZP-22236: quotes in object name breaks state change
Merge pull request #871 from joaoinacio/EZP-22236_redirect_error_state_change

Fix EZP-22236: quotes in object name breaks state change