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
2.1 --- a/TO_DO.txt Sat Jul 23 19:04:54 2011 +0200
2.2 +++ b/TO_DO.txt Sun Jul 24 00:02:18 2011 +0200
2.3 @@ -11,9 +11,6 @@
2.4 GriCal and External Aggregation
2.5 -------------------------------
2.6
2.7 -Make URL parameterisation robust enough to prevent arbitrary URL fragment
2.8 -insertion.
2.9 -
2.10 Support caching of remote event data.
2.11
2.12 Support navigation where the full extent of external events cannot be