Skip to content

Commit 8f71dd7

Browse files
Merge pull request #50105 from nextcloud/backport/50070/stable29
2 parents 3fef4b1 + d64c72b commit 8f71dd7

File tree

1 file changed

+3
-1
lines changed
  • lib/public/AppFramework/Http/Attribute

1 file changed

+3
-1
lines changed

lib/public/AppFramework/Http/Attribute/CORS.php

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,9 @@
2828
use Attribute;
2929

3030
/**
31-
* Attribute for controller methods that can also be accessed by not logged-in user
31+
* Attribute for controller methods that can also be accessed by other websites.
32+
* See https://developer.mozilla.org/en-US/docs/Web/HTTP/CORS for an explanation of the functionality and the security implications.
33+
* See https://docs.nextcloud.com/server/latest/developer_manual/digging_deeper/rest_apis.html on how to implement it in your controller.
3234
*
3335
* @since 27.0.0
3436
*/

0 commit comments

Comments
 (0)