mirror of
https://github.com/reddit-archive/reddit.git
synced 2026-01-25 06:48:01 -05:00
f4b7dc641f361b6dee53b5d63309df9cb3f58b3d
Fixes issue 118. The original approach to menus/navbuttons would commit changes to user preferences as a side effect of validation during a GET request. The new approach now is to add a POST handler with the same exact validation that just trivially redirects to the GET url. NavButton links are now hidden form submits, and the VMenu validator will now only commit preference changes on POST requests.
Description
No description provided
Languages
Python
54.4%
JavaScript
26.7%
HTML
11.3%
Less
4.5%
Shell
1%
Other
2%