From e8410ae0a99f24eacf5a8ca12e3c193c0c2d6a5c Mon Sep 17 00:00:00 2001 Message-Id: From: Mark Wooding Date: Fri, 8 Mar 2013 07:20:04 +0000 Subject: [PATCH] *.fhtml: Use proper apostrophes instead of the awful ASCII one. Organization: Straylight/Edgeware From: Mark Wooding --- about.fhtml | 8 ++++---- cookies.fhtml | 28 ++++++++++++++-------------- list.fhtml | 2 +- 3 files changed, 19 insertions(+), 19 deletions(-) diff --git a/about.fhtml b/about.fhtml index 9579700..4cbaa75 100644 --- a/about.fhtml +++ b/about.fhtml @@ -26,10 +26,10 @@

About this program

-

This is Chopwood version ~={version}H. It's a tool which lets users -edit their passwords for services such as email, and web proxies, using -a variety of interfaces. This is the CGI interface, but there are many -others. +

This is Chopwood version ~={version}H. It’s a tool which lets +users edit their passwords for services such as email, and web proxies, +using a variety of interfaces. This is the CGI interface, but there are +many others.

Source code

diff --git a/cookies.fhtml b/cookies.fhtml index 4b3019f..66863cd 100644 --- a/cookies.fhtml +++ b/cookies.fhtml @@ -35,9 +35,9 @@ means).

What do you need this cookie for?

-

The cookie contains a token which tells the server that you've logged in -properly. We could have chosen to use a hidden form field to carry this -token about, but that causes other trouble. +

The cookie contains a token which tells the server that you’ve +logged in properly. We could have chosen to use a hidden form field to +carry this token about, but that causes other trouble.

For example, if we used GET requests then the token would appear as part of a URL, where it would end up being written in the location bar of @@ -46,7 +46,7 @@ services; this obviously has an adverse effect on security. Also, the token is kind of long and ugly.

We could avoid this problem by using POST requests everywhere, but -that causes other trouble. In particular, you'd get that annoying +that causes other trouble. In particular, you’d get that annoying

The page that you’re looking for used information that you entered. Returning to hat page might cause any action that you took to be @@ -54,7 +54,7 @@ that causes other trouble. In particular, you'd get that annoying
message whenever you hit the reload button. -

What's in this cookie?

+

What’s in this cookie?

If you actually look at the cookie, you find that it looks something like this: @@ -78,26 +78,26 @@ against request forgery attacks.

Tag -
This is a cryptographic check that the other parts of the token haven't -been modfied by an attacker. +
This is a cryptographic check that the other parts of the token +haven’t been modfied by an attacker.
User name
Your user name, in plain text. -

How do I know you're not using this as part of some hideous behavioural -advertising scheme?

+

How do I know you’re not using this as part of some hideous +behavioural advertising scheme?

-

That's tricky. I could tell you that this program is +

That’s tricky. I could tell you that this program is free software, and that you can ">download its source code and check for yourself. -

That's true, except that it shouldn't do much to convince you that this -server is actually running the code it claims to be. And anyway, Chopwood -itself represents only one of many bits of software which could be keeping -track of you somehow through this cookie. +

That’s true, except that it shouldn’t do much to convince +you that this server is actually running the code it claims to be. And +anyway, Chopwood itself represents only one of many bits of software +which could be keeping track of you somehow through this cookie.

So, really, it comes down to trust. Sorry. diff --git a/list.fhtml b/list.fhtml index 92d2c2c..b30f708 100644 --- a/list.fhtml +++ b/list.fhtml @@ -88,7 +88,7 @@ else if (elt('set-first').value == "") return 'Empty password not permitted.'; else if (elt('set-first').value != elt('set-second').value) - return 'Passwords don\'t match.'; + return 'Passwords don\u2019t match.'; return null; } } -- [mdw]