From 22dca8a3affce4d9524e956a9a55daa32c22fcab Mon Sep 17 00:00:00 2001 From: Chris Hanson Date: Wed, 8 Jul 2009 23:55:47 -0600 Subject: [PATCH] Fix typo in POST encoder. --- src/runtime/html-form-codec.scm | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/runtime/html-form-codec.scm b/src/runtime/html-form-codec.scm index b84a89afd..50b550d7a 100644 --- a/src/runtime/html-form-codec.scm +++ b/src/runtime/html-form-codec.scm @@ -1,6 +1,6 @@ #| -*-Scheme-*- -$Id: html-form-codec.scm,v 14.1 2008/08/24 07:20:03 cph Exp $ +$Id$ Copyright (C) 1986, 1987, 1988, 1989, 1990, 1991, 1992, 1993, 1994, 1995, 1996, 1997, 1998, 1999, 2000, 2001, 2002, 2003, 2004, 2005, @@ -129,7 +129,7 @@ USA. (let ((end (string-length string))) (do ((i 0 (fix:+ i 1))) ((not (fix:< i end))) - (encode-octet (string-ref string 0) port)))) + (encode-octet (string-ref string i) port)))) (define (encode-octet char port) (cond ((char-unreserved? char) -- 2.25.1