Skip to content

Commit 865f69d

Browse files
author
Johnny Tordgeman
authored
Merge pull request #185 from PerimeterX/dev
Version 6.0.2
2 parents 89349ff + 7206643 commit 865f69d

File tree

5 files changed

+9
-5
lines changed

5 files changed

+9
-5
lines changed

CHANGELOG.md

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,10 @@ All notable changes to this project will be documented in this file.
55
The format is based on [Keep a Changelog](http://keepachangelog.com/)
66
and this project adheres to [Semantic Versioning](http://semver.org/).
77

8+
## [6.0.2] - 2019-01-06
9+
### Fixed
10+
- PXHD cookie path
11+
812
## [6.0.1] - 2019-01-04
913
### Fixed
1014
- Mobile detection for captcha script

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44

55
# [PerimeterX](http://www.perimeterx.com) NGINX Lua Plugin
66

7-
> Latest stable version: [v6.0.1](https://luarocks.org/modules/bendpx/perimeterx-nginx-plugin/6.0-1)
7+
> Latest stable version: [v6.0.2](https://luarocks.org/modules/bendpx/perimeterx-nginx-plugin/6.0-2)
88
99

1010
## [Introduction](#introduction)

lib/px/pxnginx.lua

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -88,7 +88,7 @@ function M.application(px_configuration_table)
8888
-- handle pxhd cookie
8989
if ngx.ctx.pxhd ~= nil then
9090
ngx.header["Content-Type"] = nil
91-
ngx.header["Set-Cookie"] = "_pxhd=" .. ngx.ctx.pxhd .. "; Expires=" .. ngx.cookie_time(ngx.time() + cookie_expires)
91+
ngx.header["Set-Cookie"] = "_pxhd=" .. ngx.ctx.pxhd .. "; Expires=" .. ngx.cookie_time(ngx.time() + cookie_expires) .. "; Path=/"
9292
end
9393

9494
-- case score crossed threshold

lib/px/utils/pxconstants.lua

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
----------------------------------------------
44

55
local _M = {
6-
MODULE_VERSION = "NGINX Module v6.0.1",
6+
MODULE_VERSION = "NGINX Module v6.0.2",
77
RISK_PATH = "/api/v3/risk",
88
CAPTCHA_PATH = "/api/v2/risk/captcha",
99
ACTIVITIES_PATH = "/api/v1/collector/s2s",
Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,8 @@
11
package = "perimeterx-nginx-plugin"
2-
version = "6.0-1"
2+
version = "6.0-2"
33
source = {
44
url = "git://github.com/PerimeterX/perimeterx-nginx-plugin.git",
5-
tag = "v6.0.1",
5+
tag = "v6.0.2",
66
}
77
description = {
88
summary = "PerimeterX NGINX Lua Middleware.",

0 commit comments

Comments
 (0)