nextcloud / forms

📝 Simple form & survey app for Nextcloud
https://apps.nextcloud.com/apps/forms
GNU Affero General Public License v3.0
316 stars 97 forks source link

fix: Add brute force protection to form endpoints #2269

Open susnux opened 1 month ago

susnux commented 1 month ago

Endpoints that query for forms are now protected against brute force attacks to find valid forms, invalid hashes or IDs.

codecov[bot] commented 1 month ago

Codecov Report

Attention: Patch coverage is 0% with 10 lines in your changes missing coverage. Please review.

Please upload report for BASE (main@75f51b1). Learn more about missing BASE report.

Additional details and impacted files ```diff @@ Coverage Diff @@ ## main #2269 +/- ## ======================================= Coverage ? 45.49% Complexity ? 814 ======================================= Files ? 68 Lines ? 3121 Branches ? 0 ======================================= Hits ? 1420 Misses ? 1701 Partials ? 0 ```
Chartman123 commented 1 month ago

Could you perhaps base this on my api PR?