Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

Fixes issue with keys containing ':', now it gets as key everything a…

…fter the first match.
  • Loading branch information...
commit 5ccb87fb47a76b9ce7207c0895e6c8d4f3934022 1 parent 269e5c4
@guzmanbraso guzmanbraso authored
Showing with 1 addition and 1 deletion.
  1. +1 −1  nginx-cache-inspector
View
2  nginx-cache-inspector
@@ -58,7 +58,7 @@ function get_cache_files() {
## Print the cache item key.
## $1 - cache file.
function get_cache_item_key() {
- cat $1 | sed -n '/^KEY:/p' | cut -f 2 -d ':'
+ cat $1 | sed -n '/^KEY:/p' | cut -f 2- -d ':'
} # get_cache_item_key
## Get a cache item TTL.
Please sign in to comment.
Something went wrong with that request. Please try again.