1.1 --- a/EventAggregatorSupport.py Sat Jul 23 19:04:54 2011 +0200
1.2 +++ b/EventAggregatorSupport.py Sun Jul 24 00:02:18 2011 +0200
1.3 @@ -1161,9 +1161,11 @@
1.4 continue
1.5
1.6 # Parameterise the URL.
1.7 -
1.8 - url = url.replace("{start}", calendar_start and str(calendar_start) or "")
1.9 - url = url.replace("{end}", calendar_end and str(calendar_end) or "")
1.10 + # Where other parameters are used, care must be taken to encode them
1.11 + # properly.
1.12 +
1.13 + url = url.replace("{start}", urllib.quote_plus(calendar_start and str(calendar_start) or ""))
1.14 + url = url.replace("{end}", urllib.quote_plus(calendar_end and str(calendar_end) or ""))
1.15
1.16 # Get a parser.
1.17