Task42Start - Fix problem with GET requests doing some action
See TasksExplained? for more infos about tasks. This task is based on the template at TaskTemplateStart
Status : closed
Category : gui
Date opened : 2007-02-26
Description : GET requests (by googlebot) for example hose the domain of the header parameters by setting it to nil.
Referenced in stories/tasks :
Testsuite : maing_controller_test.rb
Commited revision : 143
Remarks :
- GET requests should not make any change anything within the application at all.
Changelog
2007-02-26 - written extended_in_place_edit_for
-> lib/helpers/various.rb
This function checks for http_method, does proper validation and drops empty values.
Unfortunately, there is no feedback to the user regarding the error. It's just dropped. This is because it is an ajax request and the client expects nothing but the new value.