From 035bf6e2f077c554c8633a08f2494cf385040e41 Mon Sep 17 00:00:00 2001 From: "Anders S. Mortensen" Date: Thu, 28 Dec 2006 13:44:37 +0000 Subject: [PATCH] Only split on first occurrence of = in pseudo url. --- www/test1/index.html | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/www/test1/index.html b/www/test1/index.html index d6d548c..88d39be 100644 --- a/www/test1/index.html +++ b/www/test1/index.html @@ -338,8 +338,8 @@ function session_restore (session) for (i = 1; i < fields.length; i++) { var pair = fields[i].split(/=/); - var key = pair[0]; - var value = pair[1]; + var key = pair.shift(); + var value = pair.join('='); var cell = document.getElementById(key); cell.value = value; -- 1.7.10.4