Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
docs(HTTP): Add proper docs for CORS attribute
Signed-off-by: provokateurin <[email protected]>
  • Loading branch information
provokateurin authored and backportbot[bot] committed Jan 9, 2025
commit 9f9576073468cd8804a290592a5d7215cc6b3de5
4 changes: 3 additions & 1 deletion lib/public/AppFramework/Http/Attribute/CORS.php
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,9 @@
use Attribute;

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