Page Menu
Home
Phabricator
Search
Configure Global Search
Log In
Files
F15282949
D19160.diff
No One
Temporary
Actions
View File
Edit File
Delete File
View Transforms
Subscribe
Mute Notifications
Award Token
Flag For Later
Size
503 B
Referenced Files
None
Subscribers
None
D19160.diff
View Options
diff --git a/src/auth/PhutilOAuth1AuthAdapter.php b/src/auth/PhutilOAuth1AuthAdapter.php
--- a/src/auth/PhutilOAuth1AuthAdapter.php
+++ b/src/auth/PhutilOAuth1AuthAdapter.php
@@ -92,6 +92,12 @@
return 'HMAC-SHA1';
}
+ public function getContentSecurityPolicyFormActions() {
+ return array(
+ $this->getAuthorizeTokenURI(),
+ );
+ }
+
protected function newOAuth1Future($uri, $data = array()) {
$future = id(new PhutilOAuth1Future($uri, $data))
->setMethod('POST')
File Metadata
Details
Attached
Mime Type
text/plain
Expires
Wed, Mar 5, 3:52 AM (6 h, 10 m)
Storage Engine
blob
Storage Format
Encrypted (AES-256-CBC)
Storage Handle
7223500
Default Alt Text
D19160.diff (503 B)
Attached To
Mode
D19160: Expose Content-Security-Policy form actions from OAuth1 authentication adapters
Attached
Detach File
Event Timeline
Log In to Comment