From 1adc11d3159663fb9163fadf72ee1012caaba456 Mon Sep 17 00:00:00 2001 From: Edwin Vermeer Date: Wed, 2 Dec 2015 08:21:19 +0100 Subject: [PATCH] Do not change the casing --- EVURLCache.podspec | 2 +- EVURLCache/Pod/EVURLCache.swift | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/EVURLCache.podspec b/EVURLCache.podspec index cad0cfe..d9c9f65 100644 --- a/EVURLCache.podspec +++ b/EVURLCache.podspec @@ -8,7 +8,7 @@ Pod::Spec.new do |s| # s.name = "EVURLCache" -s.version = "2.0.1" +s.version = "2.0.2" s.summary = "NSURLCache subclass for handeling all web requests that use NSURLRequest" s.description = "This is a NSURLCache subclass for handeling all web requests that use NSURLRequest. (This includes UIWebView)" s.homepage = "https://github.com/evermeer/EVURLCache" diff --git a/EVURLCache/Pod/EVURLCache.swift b/EVURLCache/Pod/EVURLCache.swift index c97404f..e89c15a 100644 --- a/EVURLCache/Pod/EVURLCache.swift +++ b/EVURLCache/Pod/EVURLCache.swift @@ -155,7 +155,7 @@ public class EVURLCache : NSURLCache { if let cacheKey = request.valueForHTTPHeaderField(URLCACHE_CACHE_KEY) { localUrl = "\(rootPath)/\(host)/\(cacheKey)" } else { - if let path = request.URL?.relativePath?.lowercaseString { + if let path = request.URL?.relativePath { localUrl = "\(rootPath)/\(host)\(path)" } }