Skip to content
Merged
Show file tree
Hide file tree
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
4 changes: 4 additions & 0 deletions xExtension-Captcha/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -36,6 +36,10 @@ If you are having trouble with logging in after configuring the extension, you c

## Changelog

* 1.0.4 [2026-03-11]
* Fixed wrong path in CSP causing reCAPTCHA to not work properly, regression from v1.0.1 [#434](https://github.com/FreshRSS/Extensions/discussions/434)
* 1.0.3 [2025-12-17]
* Minor code changes [#406](https://github.com/FreshRSS/Extensions/pull/406)
* 1.0.2 [2025-12-06]
* Remove warning about unsafe autologin, since it's been removed in FreshRSS 1.28.0
* 1.0.1 [2025-09-20]
Expand Down
2 changes: 1 addition & 1 deletion xExtension-Captcha/extension.php
Original file line number Diff line number Diff line change
Expand Up @@ -189,7 +189,7 @@ public static function loadDependencies(): array {
$csp_hosts = 'https://' . ($csp_hosts['host'] ?? '');
if ($csp_hosts === 'https://www.google.com') {
// Original js_url injects script from www.gstatic.com therefore this is needed
$csp_hosts .= "/recaptcha/api.js https://www.gstatic.com/recaptcha/";
$csp_hosts .= "/recaptcha/ https://www.gstatic.com/recaptcha/";
} elseif ($csp_hosts === 'https://js.hcaptcha.com') {
$csp_hosts = 'https://hcaptcha.com https://*.hcaptcha.com';
}
Expand Down
2 changes: 1 addition & 1 deletion xExtension-Captcha/metadata.json
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
"name": "Form Captcha",
"author": "Inverle",
"description": "Protect register/login forms with captcha",
"version": "1.0.3",
"version": "1.0.4",
"entrypoint": "Captcha",
"type": "system"
}