rack-mini-profiler 1.1.0 → 1.1.1
Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 218654859652cf8b2880281028b2e9038fc98729179e69d18a50d6a551db74ca
|
4
|
+
data.tar.gz: 1327b7e9be36b375167d3cb4545559f3bce7913cddf8dd7983a629629fcc6f97
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: cc46de1991564f624ed3ba1ce5176c1ffeebf3602f7372c4b0e3349d3caa145cd9eb60442fc84450cb1d6bc4e2f106f47119ff9b684e71779bbd47aedf3365d8
|
7
|
+
data.tar.gz: bb01320c9d1aa42aa963b1b4a957912d40b25314973403d26db61fec2f3b413cc62ecd2afafb74f3c5c74d43de7fb595ead352c596f98fd947be082ec608f7ca
|
data/CHANGELOG.md
CHANGED
@@ -1,11 +1,16 @@
|
|
1
1
|
# CHANGELOG
|
2
2
|
|
3
|
+
## 1.1.1 2019-22-10
|
4
|
+
|
5
|
+
- [FIX] correct JavaScript fetch support header iteration (Jorge Manrubia)
|
6
|
+
|
3
7
|
## 1.1.0 2019-10-01
|
4
8
|
|
5
9
|
- [FEATURE] remove jQuery dependency, switch template library to dot.js
|
6
10
|
- [FEATURE] disable all sensitive debugging methods by default (env, memory profiling) can be enabled with enable_advanced_debugging_tools.
|
7
11
|
- [FIX] when conditionally requiring rack mini profiler, asset precompile could fail
|
8
12
|
- [FEATURE] `/rack-mini-profiler/requests` can be used to monitor all requests for apps that do not have a UI (like API apps)
|
13
|
+
- [SECURITY] XSS injection in `?pp=help` via rogue uri
|
9
14
|
|
10
15
|
## 1.0.2 2019-02-05
|
11
16
|
|
data/lib/html/includes.js
CHANGED
@@ -851,8 +851,7 @@ var MiniProfiler = (function() {
|
|
851
851
|
try {
|
852
852
|
// look for x-mini-profile-ids
|
853
853
|
var entries = response.headers.entries();
|
854
|
-
for (var
|
855
|
-
var pair = entries[i];
|
854
|
+
for (var pair of entries) {
|
856
855
|
if (pair[0] && pair[0].toLowerCase() == "x-miniprofiler-ids") {
|
857
856
|
var ids = pair[1].split(",");
|
858
857
|
fetchResults(ids);
|
@@ -10,8 +10,10 @@ module Rack
|
|
10
10
|
def initialize(args = nil)
|
11
11
|
require 'dalli' unless defined? Dalli
|
12
12
|
args ||= {}
|
13
|
+
|
13
14
|
@prefix = args[:prefix] || "MPMemcacheStore"
|
14
15
|
@prefix += "-#{Rack::MiniProfiler::VERSION}"
|
16
|
+
|
15
17
|
@client = args[:client] || Dalli::Client.new
|
16
18
|
@expires_in_seconds = args[:expires_in] || EXPIRES_IN_SECONDS
|
17
19
|
end
|
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: rack-mini-profiler
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 1.1.
|
4
|
+
version: 1.1.1
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Sam Saffron
|
@@ -10,7 +10,7 @@ authors:
|
|
10
10
|
autorequire:
|
11
11
|
bindir: bin
|
12
12
|
cert_chain: []
|
13
|
-
date: 2019-10-
|
13
|
+
date: 2019-10-22 00:00:00.000000000 Z
|
14
14
|
dependencies:
|
15
15
|
- !ruby/object:Gem::Dependency
|
16
16
|
name: rack
|