summaryrefslogtreecommitdiff
path: root/russian/cyrproxy
diff options
context:
space:
mode:
authorAndrey A. Chernov <ache@FreeBSD.org>1997-06-20 23:16:25 +0000
committerAndrey A. Chernov <ache@FreeBSD.org>1997-06-20 23:16:25 +0000
commitfe2b3945062492c54e802b6d6509f1865b236f2a (patch)
treeceea7d16b770a19410a806f81ad3f4428fb1e823 /russian/cyrproxy
parentUpgrade, 4.0.7 -> 4.1.2. (diff)
Always put charset= if we decode document.
Notes
Notes: svn path=/head/; revision=7026
Diffstat (limited to 'russian/cyrproxy')
-rw-r--r--russian/cyrproxy/files/patch-af23
1 files changed, 23 insertions, 0 deletions
diff --git a/russian/cyrproxy/files/patch-af b/russian/cyrproxy/files/patch-af
new file mode 100644
index 000000000000..6e805790487a
--- /dev/null
+++ b/russian/cyrproxy/files/patch-af
@@ -0,0 +1,23 @@
+*** http_gw.c.bak Sat May 3 15:57:21 1997
+--- http_gw.c Sat Jun 21 03:13:55 1997
+***************
+*** 353,360 ****
+ char *p = strstr(buf,"charset=");
+ if(p)
+ sprintf(p,"charset=%s\n",enc->clientcharset);
+- #if 0 /* commented out. I'm not sure, that we must force charset addition
+- for documents, which not contains it! */
+ else
+ {
+ p=strchr(buf,'\n');
+--- 353,358 ----
+***************
+*** 369,375 ****
+ strcat(buf,"\n");
+ }
+ }
+- #endif
+ n=strlen(buf);
+ }
+
+--- 367,372 ----