tags 355663 + patch
thanks

untested patch below.

--- qterm/qtermhttp.cpp~        2006-03-07 18:01:33.000000000 +0000
+++ qterm/qtermhttp.cpp 2006-03-07 18:01:52.000000000 +0000
@@ -91,7 +91,7 @@
 //     ValueString = ValueString.mid(ValueString.find(';') + 
1).stripWhiteSpace();

 //     if(ValueString.lower().find("filename") == 0)

 //     m_strHttpFile = ValueString.mid(ValueString.find('=') + 
1).stripWhiteSpace();

-       QRegExp re("filename\=.*", false);

+       QRegExp re("filename=.*", false);

        int pos=re.search(ValueString);

        if(pos!=-1)

                m_strHttpFile = ValueString.mid(pos+9,re.matchedLength()-9);


-- 
Martin Michlmayr
http://www.cyrius.com/


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]

Reply via email to