Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/diaspora/diaspora.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
path: root/app
diff options
context:
space:
mode:
authorBenjamin Neff <benjamin@coding4coffee.ch>2022-07-14 00:29:33 +0300
committerBenjamin Neff <benjamin@coding4coffee.ch>2022-07-16 05:44:17 +0300
commita5e5c7f3782e83d527b9b28a0e8f46fb1f83389b (patch)
tree7e7a88b1c58fd106a85bf35fbb713bc7bacc174b /app
parentdd3bc39c97e6b6d17646c8cbf33e13c252e0c2e4 (diff)
Fix Link to OWASP CSRF more information page
closes #8365
Diffstat (limited to 'app')
-rw-r--r--app/views/notifier/csrf_token_fail.html.haml2
-rw-r--r--app/views/notifier/csrf_token_fail.text.erb2
2 files changed, 2 insertions, 2 deletions
diff --git a/app/views/notifier/csrf_token_fail.html.haml b/app/views/notifier/csrf_token_fail.html.haml
index aa8b3d80e..08c27d4b9 100644
--- a/app/views/notifier/csrf_token_fail.html.haml
+++ b/app/views/notifier/csrf_token_fail.html.haml
@@ -1,4 +1,4 @@
- message = t("notifier.csrf_token_fail.body",
name: @notification.recipient_first_name,
- link: "https://www.owasp.org/index.php/Cross-Site_Request_Forgery_(CSRF)")
+ link: "https://owasp.org/www-community/attacks/csrf")
!= Redcarpet::Markdown.new(Diaspora::Markdownify::Email).render(message)
diff --git a/app/views/notifier/csrf_token_fail.text.erb b/app/views/notifier/csrf_token_fail.text.erb
index 413b61f97..ef034ed02 100644
--- a/app/views/notifier/csrf_token_fail.text.erb
+++ b/app/views/notifier/csrf_token_fail.text.erb
@@ -1,3 +1,3 @@
<%= t("notifier.csrf_token_fail.body",
name: @notification.recipient_first_name,
- link: "https://www.owasp.org/index.php/Cross-Site_Request_Forgery_(CSRF)") %>
+ link: "https://owasp.org/www-community/attacks/csrf") %>