aboutsummaryrefslogtreecommitdiffstats
path: root/russian
diff options
context:
space:
mode:
authorache <ache@FreeBSD.org>1997-06-21 07:16:25 +0800
committerache <ache@FreeBSD.org>1997-06-21 07:16:25 +0800
commit7c7d90dc9429e68c4cfeb4cce53297ea36840a5a (patch)
tree2f4f88b00d35a898e54ba40b0b7f3dc91e00eca5 /russian
parenta845fe3df6d2fbb22b22351b18fb61ac94fd2bed (diff)
downloadfreebsd-ports-gnome-7c7d90dc9429e68c4cfeb4cce53297ea36840a5a.tar.gz
freebsd-ports-gnome-7c7d90dc9429e68c4cfeb4cce53297ea36840a5a.tar.zst
freebsd-ports-gnome-7c7d90dc9429e68c4cfeb4cce53297ea36840a5a.zip
Always put charset= if we decode document.
Diffstat (limited to 'russian')
-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 ----