Search squid archive

Re: Escape/Unescape of helper input/output question

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On 24/12/2013 3:27 p.m., Amos Jeffries wrote:
> On 24/12/2013 6:59 a.m., Markus Moeller wrote:
<snip>
> 
>>
>> kerberos_ldap_group.cc(329): pid=16122 :2013/12/23 17:45:58|
>> kerberos_ldap_group: MM: Got User: WIN2003R2mm
> 
> Squid-3.4 is hitting a bug in the word tokenizer where it decodes
> \-escaped characters outside of quoted strings.
> 
> You could perhapse workaround this by doing the old->new helper response
> format conversion in the worker.
> 

Actually, could you re-test with this patch please?

Amos
=== modified file 'src/String.cc'
--- src/String.cc	2012-10-04 09:14:06 +0000
+++ src/String.cc	2013-12-24 02:33:52 +0000
@@ -376,7 +376,8 @@
         switch (ch) {
 
         case '\\':
-            ++p;
+            if (quoted)
+                ++p;
 
             switch (*p) {
 


[Index of Archives]     [Linux Audio Users]     [Samba]     [Big List of Linux Books]     [Linux USB]     [Yosemite News]

  Powered by Linux