discourse/app/services
Dan Ungureanu 34a76bf106 FIX: Do not set destination_url cookie after deleting own account. (#8028)
destination_url cookie is used to redirect the user to the a private
page after they have logged in. After deleting own account, a user's
pages would be refreshed which would set the destination_url, cookie
that can cause a redirect to an invalid page after logging in again.

Reproduction steps:

1. User is at `/u/:username/preferences/account` and deletes account by
requesting DELETE `/u/:username.json`.

2. User is being destroyed and a MessageBus message (`file-change`,
`['refresh']`) is published.

3. User receives response to DELETE request, but page may be or not
refreshed. Anyway, since they can no longer see the preferences page,
they are redirected to `/login` and `destination_url` cookie is set,
that will redirect on next login (but to the previous preferences page).
2019-08-22 17:42:45 +02:00
..
spam_rule FIX: Use default locale for flag reasons 2019-07-12 12:04:23 +02:00
anonymous_shadow_creator.rb FEATURE: introduce dedicated storage and DB constraints for anon users 2019-05-29 14:26:24 +10:00
badge_granter.rb DEV: enable frozen string literal on all files 2019-05-13 09:31:32 +08:00
color_scheme_revisor.rb DEV: enable frozen string literal on all files 2019-05-13 09:31:32 +08:00
destroy_task.rb REFACTOR: Cleanup rake tasks based on feedback 2019-07-18 19:15:01 -06:00
email_style_updater.rb FEATURE: customization of html emails (#7934) 2019-07-30 15:05:08 -04:00
group_action_logger.rb DEV: enable frozen string literal on all files 2019-05-13 09:31:32 +08:00
group_mentions_updater.rb DEV: enable frozen string literal on all files 2019-05-13 09:31:32 +08:00
group_message.rb DEV: enable frozen string literal on all files 2019-05-13 09:31:32 +08:00
handle_chunk_upload.rb DEV: enable frozen string literal on all files 2019-05-13 09:31:32 +08:00
heat_settings_updater.rb FIX: round the calculated heat values 2019-06-06 15:44:55 -04:00
inline_uploads.rb DEV: Extract common regexps for multisite. 2019-07-29 19:01:36 +08:00
notification_emailer.rb DEV: enable frozen string literal on all files 2019-05-13 09:31:32 +08:00
post_action_notifier.rb REFACTOR: Rename SiteSetting.disable_edit_notifications to disable_system_edit_notifications (#7958) 2019-07-31 20:20:41 +05:30
post_alerter.rb Do not collapse quote notifications 2019-06-27 18:20:43 -04:00
post_owner_changer.rb DEV: enable frozen string literal on all files 2019-05-13 09:31:32 +08:00
push_notification_pusher.rb DEV: enable frozen string literal on all files 2019-05-13 09:31:32 +08:00
random_topic_selector.rb DEV: enable frozen string literal on all files 2019-05-13 09:31:32 +08:00
search_indexer.rb FIX: search indexer had various cases where it could fail 2019-06-04 16:21:03 +10:00
site_settings_task.rb FEATURE: Allow import of hidden site settings (#7601) 2019-05-28 16:20:18 +10:00
staff_action_logger.rb FEATURE: allow disabling theme components (#7812) 2019-07-03 18:18:11 +10:00
themes_install_task.rb FEATURE: Rake themes installer (#7848) 2019-07-04 14:33:05 -04:00
topic_status_updater.rb DEV: enable frozen string literal on all files 2019-05-13 09:31:32 +08:00
topic_timestamp_changer.rb DEV: enable frozen string literal on all files 2019-05-13 09:31:32 +08:00
tracked_topics_updater.rb DEV: enable frozen string literal on all files 2019-05-13 09:31:32 +08:00
trust_level_granter.rb DEV: enable frozen string literal on all files 2019-05-13 09:31:32 +08:00
user_action_manager.rb DEV: enable frozen string literal on all files 2019-05-13 09:31:32 +08:00
user_activator.rb DEV: enable frozen string literal on all files 2019-05-13 09:31:32 +08:00
user_anonymizer.rb DEV: enable frozen string literal on all files 2019-05-13 09:31:32 +08:00
user_authenticator.rb DEV: enable frozen string literal on all files 2019-05-13 09:31:32 +08:00
user_destroyer.rb FIX: Do not set destination_url cookie after deleting own account. (#8028) 2019-08-22 17:42:45 +02:00
user_merger.rb DEV: enable frozen string literal on all files 2019-05-13 09:31:32 +08:00
user_notification_renderer.rb FEATURE: customization of html emails (#7934) 2019-07-30 15:05:08 -04:00
user_silencer.rb DEV: enable frozen string literal on all files 2019-05-13 09:31:32 +08:00
user_updater.rb FEATURE: add support for defer topic functionality 2019-05-31 15:44:35 +10:00
username_changer.rb FIX: do not log username change if the save process was unsuccessful 2019-05-13 22:20:27 +05:30
username_checker_service.rb DEV: enable frozen string literal on all files 2019-05-13 09:31:32 +08:00
wildcard_domain_checker.rb DEV: enable frozen string literal on all files 2019-05-13 09:31:32 +08:00
wildcard_url_checker.rb DEV: enable frozen string literal on all files 2019-05-13 09:31:32 +08:00
word_watcher.rb FIX: Various watched words improvements 2019-08-02 15:29:12 +01:00