← Back to team overview

linuxdcpp-team team mailing list archive

[Branch ~dcplusplus-team/dcplusplus/trunk] Rev 2583: Fix queries in http downloads

 

------------------------------------------------------------
revno: 2583
committer: eMTee <emtee11@xxxxxxxxx>
branch nick: dcplusplus
timestamp: Wed 2011-08-03 23:03:49 +0200
message:
  Fix queries in http downloads
modified:
  changelog.txt
  dcpp/HttpConnection.cpp


--
lp:dcplusplus
https://code.launchpad.net/~dcplusplus-team/dcplusplus/trunk

Your team Dcplusplus-team is subscribed to branch lp:dcplusplus.
To unsubscribe from this branch go to https://code.launchpad.net/~dcplusplus-team/dcplusplus/trunk/+edit-subscription
=== modified file 'changelog.txt'
--- changelog.txt	2011-07-05 12:16:32 +0000
+++ changelog.txt	2011-08-03 21:03:49 +0000
@@ -34,6 +34,10 @@
 * Improve "View as text" windows (poy)
 * [L#804024] [ADC] Separate application and version in INF (ullner)
 * [L#696761] Modal dialog fixes (poy)
+* Link with DEP and ASLR support (thanks cologic)
+* Add "Clear chat" context menu to chat windows (thanks iceman50)
+* Store the password (if available) using "Add to favorites" (thanks iceman50)
+* Fix queries in http downloads (thanks bigmuscle)
 
 -- 0.782 2011-03-05 --
 * Prevent a remote crash triggered via malformed user commands (poy)

=== modified file 'dcpp/HttpConnection.cpp'
--- dcpp/HttpConnection.cpp	2011-04-13 19:16:51 +0000
+++ dcpp/HttpConnection.cpp	2011-08-03 21:03:49 +0000
@@ -64,6 +64,9 @@
 		file = currentUrl;
 	}
 
+	if(!query.empty())
+		file += '?' + query;
+
 	if(BOOLSETTING(CORAL) && coralizeState != CST_NOCORALIZE) {
 		if(server.length() > CORAL_SUFFIX.length() && server.compare(server.length() - CORAL_SUFFIX.length(), CORAL_SUFFIX.length(), CORAL_SUFFIX) !=0) {
 			server += CORAL_SUFFIX;