From 1dec476db78376bd5b50b71b9c7316410f87fc86 Mon Sep 17 00:00:00 2001 From: Claudio Sacerdoti Coen Date: Fri, 6 Apr 2001 14:05:36 +0000 Subject: [PATCH] Added URL quoting to quote also "," (required by Netscape for plug-outs) --- helm/on-line/javascript/control.js | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/helm/on-line/javascript/control.js b/helm/on-line/javascript/control.js index e43587573..74903c692 100644 --- a/helm/on-line/javascript/control.js +++ b/helm/on-line/javascript/control.js @@ -126,7 +126,7 @@ function makeURL(type,uri,cicflags,typesflags) "&patch_dtd=" + mode_list[6]; } else { if (format == "html" && type == "cic") { - keys = "C1,HC2,L¶m.processorURL=" + escape(processorURL) + + keys = escape("C1,HC2,L")+"¶m.processorURL=" + escape(processorURL) + "¶m.getterURL=" + escape(getterURL) + "&prop.doctype-public="+escape("-//W3C//DTD XHTML 1.0 Transitional//EN")+ "&prop.encoding=iso-8859-1" + @@ -136,7 +136,7 @@ function makeURL(type,uri,cicflags,typesflags) "¶m.media-type=text/html" + "¶m.keys=" + escape("C1,HC2,L"); } else if (format == "html" && type == "theory") { - keys = "T1,T2,L,E¶m.processorURL=" + escape(processorURL) + + keys = escape("T1,T2,L,E")+"¶m.processorURL=" + escape(processorURL) + "¶m.getterURL=" + escape(getterURL) + "¶m.thkeys=" + escape("TC1,HC2,L") + "¶m.doctype-public="+escape("-//W3C//DTD XHTML 1.0 Transitional//EN")+ @@ -146,9 +146,9 @@ function makeURL(type,uri,cicflags,typesflags) } else if (format == "mml_cont" && type == "cic") { keys = "C1"; } else if (format == "mml_cont" && type == "theory") { - keys = "T1,E¶m.keys=C1¶m.thkeys=TC1"; + keys = escape("T1,E")+"¶m.keys=C1¶m.thkeys=TC1"; } else if (format == "mml_pres" && type == "cic") { - keys = "C1,C2,L¶m.processorURL=" + escape(processorURL) + + keys = escape("C1,C2,L")+"¶m.processorURL=" + escape(processorURL) + "¶m.getterURL=" + escape(getterURL) + "&prop.doctype-public="+ "&prop.encoding=" + @@ -158,7 +158,7 @@ function makeURL(type,uri,cicflags,typesflags) "¶m.media-type=text/xml" + "¶m.keys=" + escape("C1,C2,L"); } else if (format == "mml_pres" && type == "theory") { - keys = "T1,T2,L,E¶m.keys=C1,C2¶m.thkeys=TC1,C2,L" + + keys = escape("T1,T2,L,E")+"¶m.keys=C1,C2¶m.thkeys=TC1,C2,L" + "¶m.processorURL=" + escape(processorURL) + "¶m.getterURL=" + escape(getterURL) + "¶m.doctype-public=" + -- 2.39.2