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)
Tue, May 7, 7:24 AM
Unknown Object (File)
Mon, May 6, 11:13 PM
Unknown Object (File)
Fri, May 3, 6:10 AM
Unknown Object (File)
Sun, Apr 28, 5:37 AM
Unknown Object (File)
Fri, Apr 26, 5:27 PM
Unknown Object (File)
Thu, Apr 25, 1:02 AM
Unknown Object (File)
Fri, Apr 19, 6:23 PM
Unknown Object (File)
Fri, Apr 19, 3:59 PM
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