File tree Expand file tree Collapse file tree 2 files changed +7
-2
lines changed Expand file tree Collapse file tree 2 files changed +7
-2
lines changed Original file line number Diff line number Diff line change 6
6
* Bugfixes
7
7
* Your bugfix goes here (#Github Number)
8
8
9
+ ## 4.3.4/4.3.5 and 3.12.5/3.12.6 / 2020-05-22
10
+
11
+ Each patchlevel release contains a separate security fix. We recommend simply upgrading to 4.3.5/3.12.6.
9
12
10
13
## 4.3.3 and 3.12.4 / 2020-02-28
11
14
* Bugfixes
Original file line number Diff line number Diff line change 1
1
# frozen_string_literal: true
2
2
3
- require 'json'
4
-
5
3
module Puma
6
4
module App
7
5
# Check out {#call}'s source code to see what actions this web application
@@ -19,6 +17,10 @@ def call(env)
19
17
return rack_response ( 403 , 'Invalid auth token' , 'text/plain' )
20
18
end
21
19
20
+ if env [ 'PATH_INFO' ] =~ /\/ (gc-stats|stats|thread-backtraces)$/
21
+ require 'json'
22
+ end
23
+
22
24
case env [ 'PATH_INFO' ]
23
25
when /\/ stop$/
24
26
@cli . stop
You can’t perform that action at this time.
0 commit comments