Page MenuHomePhabricator

Tailor the CSRF check message for HTTP requests with "security.require-https"
AcceptedPublic

Authored by epriestley on Apr 13 2017, 2:55 PM.
Tags
None
Referenced Files
Unknown Object (File)
Wed, Jan 1, 10:49 PM
Unknown Object (File)
Mon, Dec 30, 12:09 AM
Unknown Object (File)
Thu, Dec 12, 7:12 AM
Unknown Object (File)
Nov 26 2024, 8:16 PM
Unknown Object (File)
Nov 22 2024, 11:19 PM
Unknown Object (File)
Nov 21 2024, 6:15 PM
Unknown Object (File)
Nov 19 2024, 6:15 PM
Unknown Object (File)
Nov 16 2024, 1:57 AM
Subscribers
None

Details

Summary

Ref T12547. See that task for discussion.

Test Plan
  • Changed storage.default-namespace to a new value.
  • Upgraded database.
  • Enabled security.require-https.
  • Registered over plain HTTP.
  • After patch, got a more tailored exception instead of the more general/misleading one from before.

Diff Detail

Repository
rP Phabricator
Branch
tailor1
Lint
Lint Passed
Unit
Tests Passed
Build Status
Buildable 16441
Build 21880: Run Core Tests
Build 21879: arc lint + arc unit