cfb6199a95
When redirecting to login, we store a destination_url cookie, which the user is then redirected to after login. We never want the user to be redirected to a JSON URL. Instead, we should return a 403 in these situations. This should also be much less confusing for API consumers - a 403 is a better representation than a 302. |
||
---|---|---|
.. | ||
api_keys_spec.rb | ||
auto_reject_reviewable_users_spec.rb | ||
category_tag_spec.rb | ||
content_security_policy_spec.rb | ||
email_style_spec.rb | ||
flags_spec.rb | ||
group_spec.rb | ||
invite_only_registration_spec.rb | ||
message_bus_spec.rb | ||
multisite_cookies_spec.rb | ||
multisite_spec.rb | ||
rate_limiting_spec.rb | ||
same_ip_spammers_spec.rb | ||
spam_rules_spec.rb | ||
topic_auto_close_spec.rb | ||
topic_thumbnail_spec.rb | ||
watched_words_spec.rb |