From c0f52ecf286be4f12d71236208bddbb44ebee514 Mon Sep 17 00:00:00 2001 From: Marcin Kurczewski Date: Sat, 22 Feb 2014 23:37:30 +0100 Subject: [PATCH] Fixed HTML injection in some forms --- src/Views/log-view.phtml | 2 +- src/Views/post-edit.phtml | 6 +++--- src/Views/post-view.phtml | 2 +- src/Views/tag-mass-tag.phtml | 4 ++-- src/Views/user-edit.phtml | 8 ++++---- src/Views/user-registration.phtml | 8 ++++---- 6 files changed, 15 insertions(+), 15 deletions(-) diff --git a/src/Views/log-view.phtml b/src/Views/log-view.phtml index aa8d5ad6..91cf6ccc 100644 --- a/src/Views/log-view.phtml +++ b/src/Views/log-view.phtml @@ -13,7 +13,7 @@ LayoutHelper::setSubTitle('logs (' . $name . ')');
Keep only lines that contain: - +
diff --git a/src/Views/post-edit.phtml b/src/Views/post-edit.phtml index 1b89afdc..4d2d2ab7 100644 --- a/src/Views/post-edit.phtml +++ b/src/Views/post-edit.phtml @@ -17,15 +17,15 @@ context->transport->post->getUploader()))): ?>
-
+
- + context->transport->post->getUploader()))): ?>
-
+
diff --git a/src/Views/post-view.phtml b/src/Views/post-view.phtml index b6ab3649..bd489c5a 100644 --- a/src/Views/post-view.phtml +++ b/src/Views/post-view.phtml @@ -106,7 +106,7 @@ $canEditAnything = count(array_filter($editPostPrivileges)) > 0;
Source: - + context->transport->post->source)): ?> diff --git a/src/Views/tag-mass-tag.phtml b/src/Views/tag-mass-tag.phtml index 621525cd..70853c89 100644 --- a/src/Views/tag-mass-tag.phtml +++ b/src/Views/tag-mass-tag.phtml @@ -4,12 +4,12 @@
-
+
-
+
diff --git a/src/Views/user-edit.phtml b/src/Views/user-edit.phtml index d6da359a..299c75c6 100644 --- a/src/Views/user-edit.phtml +++ b/src/Views/user-edit.phtml @@ -10,25 +10,25 @@ context->transport->user))): ?>
-
+
context->transport->user))): ?> context->transport->user))): ?>
-
+
-
+
diff --git a/src/Views/user-registration.phtml b/src/Views/user-registration.phtml index a7599403..e4a0e5f3 100644 --- a/src/Views/user-registration.phtml +++ b/src/Views/user-registration.phtml @@ -14,22 +14,22 @@ LayoutHelper::setSubTitle('registration form');
-
+
-
+
-
+
-
+

Your e-mail will be used to show your Gravatar.
Leave blank for random Gravatar.