From 83b221799e409b407c60fd246fd883d068775016 Mon Sep 17 00:00:00 2001 From: Joey Hess Date: Fri, 25 Oct 2013 17:55:39 -0400 Subject: [PATCH 1/2] Fix XSS in site creation interface. Thanks, Gopal Bisht. --- debian/changelog | 1 + templates/makesite.tmpl | 16 ++++++++-------- templates/setupdns.tmpl | 10 +++++----- 3 files changed, 14 insertions(+), 13 deletions(-) diff --git a/debian/changelog b/debian/changelog index d58ec61..550ecfb 100644 --- a/debian/changelog +++ b/debian/changelog @@ -1,6 +1,7 @@ ikiwiki-hosting (0.20130927) UNRELEASED; urgency=low * Exclude the site from showing up as a referrer in the analog report. + * Fix XSS in site creation interface. Thanks, Gopal Bisht. -- Joey Hess Sun, 08 Sep 2013 18:45:29 -0400 diff --git a/templates/makesite.tmpl b/templates/makesite.tmpl index 02758de..2559caa 100644 --- a/templates/makesite.tmpl +++ b/templates/makesite.tmpl @@ -8,10 +8,10 @@ - +
-Your site +Your site has been created. @@ -63,18 +63,18 @@ I agree to the Terms of Service.

Domain

-To make your site be available at , +To make your site be available at , you need to purchase that domain name. I can't do that for you, but you can buy the domain at sites like GoDaddy or Gandi. When you buy the domain, configure it to point to -. +. -Looks like already exists. If you own +Looks like already exists. If you own that domain, you need to visit your DNS Registrar, and configure -the domain so it points to . +the domain so it points to .

@@ -82,12 +82,12 @@ the domain so it points to .   Sorry, the DNS for - is still not right ... + is still not right ...

-Or, you can postpone using the domain, +Or, you can postpone using the domain, and set it up later, after you've used your site for a while.

diff --git a/templates/setupdns.tmpl b/templates/setupdns.tmpl index e359afa..b614bdf 100644 --- a/templates/setupdns.tmpl +++ b/templates/setupdns.tmpl @@ -15,20 +15,20 @@ Here you can configure the domain names used for this site.

-To make your site be available at , +To make your site be available at , you need to purchase that domain name. I can't do that for you, but you can buy the domain at sites like GoDaddy or Gandi. When you buy the domain, configure it to point to -. +.

-To make your site be available at , +To make your site be available at , you need to visit your DNS Registrar and configure the domain -to point to . +to point to .

@@ -39,7 +39,7 @@ DNS successfully configured.
-
+


-- 1.8.4.rc3