Description

Some links that create GET requests have side effects that may destroy data when a user is using a web accelerator that prefetch every link on a page. Such web accelerator is correct according to the HTTP spec.

Steps to reproduce

Install Google web accelerator and visit your favorite wiki as registered user.

Example

Here are some broken links found on this wiki:

Details

Any MoinMoin version.

Workaround

Hope that your wiki users does not use web accelerator.

Discussion

http://www.37signals.com/svn/archives2/the_google_web_accelerator_is_back_with_a_vengeance.php - DHH of 37 Signals complain about Google Web Accelerator after he failed to use side effect free GET :)

Its possible to design a robot that will log in as a user, then fetch all the revert and del links in the wiki. Such robot working slowly during night may cause lot of mess :-)

Fix: any action that have any side effects should use form with POST method.

Looks like we can't have everything in that case:

Plan


CategoryMoinMoinBug

MoinMoin: MoinMoinBugs/NoSideEffectsGET (last edited 2007-10-29 19:11:42 by localhost)