Caching support for URLs with port numbers
authorJeremy Stanley <fungi@yuggoth.org>
Sun, 31 May 2020 14:39:34 +0000 (14:39 +0000)
committerJeremy Stanley <fungi@yuggoth.org>
Sun, 31 May 2020 15:11:32 +0000 (15:11 +0000)
commit28a5c0e1e6973b30d7dfa2659495c4533281ec56
treea534af08b4d823951b4463ff0b2cc11cca41df1b
parent74a9ee62f69ff8f801740348186f321991f81a8f
Caching support for URLs with port numbers

When mangling URLs of fetched data to store in the local cache, only
split on the first colon so that URLs with port numbers in them are
properly differentiated. Previously, all URLs for the same domain
name landed in a single file if a port number was included, causing
incorrect results to be returned from the cache.
weather.py