diff -u -r dansguardian-2.9.9.5/src/HTTPHeader.cpp dansguardian-2.9.9.5-hacked/src/HTTPHeader.cpp
--- dansguardian-2.9.9.5/src/HTTPHeader.cpp	2008-04-01 05:36:21.000000000 -0500
+++ dansguardian-2.9.9.5-hacked/src/HTTPHeader.cpp	2010-04-09 14:44:36.000000000 -0500
@@ -900,6 +900,13 @@
 				}
 				hostname.removeWhiteSpace();  // remove rubbish like
 				// ^M and blanks
+                
+                //work around iTunes bug
+                if (hostname.endsWith(".")) {
+                  hostname.chop();
+                }
+                //end work around iTunes bug
+
 				hostname = "http://" + hostname;
 				answer = hostname + answer;
 			}
