commit | 1870015932895244e668a85fb4100632ac949cc3 | [log] [tgz] |
---|---|---|
author | Ben Murdoch <benm@google.com> | Tue Dec 14 16:36:03 2010 +0000 |
committer | Ben Murdoch <benm@google.com> | Wed Dec 15 11:13:16 2010 +0000 |
tree | c79e1546c3263b3ecf2a5b118beff94d044dd760 | |
parent | 1eb9f161a6f03cc8fc3a464a71a36e92bc79bd01 [diff] |
Remove fragment as well as the query from URLs when resolving MIME type When we try to deduce the MIME type from the file extension of a URL, strip the fragment off at the same time we are stripping the query. Otherwise we end up trying to match against some funny extensions. Bug:3241908 Change-Id: Ibaa84f0a628f37cd012b6cfbed9a6a666ecae8bb