Skip to content

Commit

Permalink
Merge pull request #75 from PerimeterX/dev
Browse files Browse the repository at this point in the history
Version 3.1.2
  • Loading branch information
Johnny Tordgeman authored Sep 22, 2019
2 parents 6d91179 + 2642814 commit 556369b
Show file tree
Hide file tree
Showing 5 changed files with 9 additions and 5 deletions.
4 changes: 4 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,10 @@
All notable changes to this project will be documented in this file.
The format is based on [Keep a Changelog](http://keepachangelog.com/)

## [3.1.2] - 2019-09-22
### Fixed
- customBlockUrl - url query param will now point to path instead of absolute url

## [3.1.1] - 2019-07-03
### Fixed
- customBlockUrl redirect flow
Expand Down
2 changes: 1 addition & 1 deletion PerimeterXModule/Internals/PxBlock.cs
Original file line number Diff line number Diff line change
Expand Up @@ -120,7 +120,7 @@ public void ResponseBlockPage(PxContext pxContext, PxModuleConfigurationSection
{
if (pxContext.RedirectOnCustomUrl)
{
string uri = pxContext.ApplicationContext.Request.Url.AbsoluteUri;
string uri = pxContext.ApplicationContext.Request.Url.PathAndQuery;
string encodedUri = Convert.ToBase64String(Encoding.UTF8.GetBytes(uri));
string redirectUrl = string.Format("{0}?url={1}&uuid={2}&vid={3}", pxContext.CustomBlockUrl, encodedUri, pxContext.UUID, pxContext.Vid);
PxLoggingUtils.LogDebug("Redirecting to custom block page: " + redirectUrl);
Expand Down
2 changes: 1 addition & 1 deletion PerimeterXModule/PerimeterXModule.nuspec
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@
<requireLicenseAcceptance>false</requireLicenseAcceptance>
<description>$description$</description>
<releaseNotes>Initial integration module</releaseNotes>
<copyright>Copyright 2016</copyright>
<copyright>Copyright 2019</copyright>
<tags>PerimeterX</tags>
</metadata>
</package>
4 changes: 2 additions & 2 deletions PerimeterXModule/Properties/AssemblyInfo.cs
Original file line number Diff line number Diff line change
Expand Up @@ -23,5 +23,5 @@
// You can specify all the values or you can default the Build and Revision Numbers
// by using the '*' as shown below:
// [assembly: AssemblyVersion("1.0.*")]
[assembly: AssemblyVersion("3.1.1")]
[assembly: AssemblyFileVersion("3.1.1")]
[assembly: AssemblyVersion("3.1.2")]
[assembly: AssemblyFileVersion("3.1.2")]
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
[PerimeterX](http://www.perimeterx.com) ASP.NET SDK
===================================================

> Latest stable version: [v3.1.0](https://www.nuget.org/packages/PerimeterXModule/3.1.0)
> Latest stable version: [v3.1.2](https://www.nuget.org/packages/PerimeterXModule/3.1.2)
Table of Contents
-----------------
Expand Down

0 comments on commit 556369b

Please sign in to comment.