Skip to content

Commit c8255ba

Browse files
committed
fixed: state location store encode
1 parent 2831a2e commit c8255ba

File tree

7 files changed

+7
-7
lines changed

7 files changed

+7
-7
lines changed

ne-modules-all.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6212,7 +6212,7 @@ angular.module('neState', ['ngCookies'])
62126212
builder: function(stateObj){
62136213
var locationPrefix = this.prefix;
62146214
var encryptLocation = this.encrypt;
6215-
var str = encodeURIComponent( JSON.stringify(stateObj) );
6215+
var str = JSON.stringify(stateObj); //.replace(/=/,'%3D').replace(/\&/, '%26').replace(/\?/, '%3F');
62166216

62176217
if(encryptLocation) str = encryptString(str);
62186218
return str;

ne-modules-all.min.js

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

ne-modules-all.min.js.map

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

ne-modules.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6212,7 +6212,7 @@ angular.module('neState', ['ngCookies'])
62126212
builder: function(stateObj){
62136213
var locationPrefix = this.prefix;
62146214
var encryptLocation = this.encrypt;
6215-
var str = encodeURIComponent( JSON.stringify(stateObj) );
6215+
var str = JSON.stringify(stateObj); //.replace(/=/,'%3D').replace(/\&/, '%26').replace(/\?/, '%3F');
62166216

62176217
if(encryptLocation) str = encryptString(str);
62186218
return str;

ne-modules.min.js

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

ne-modules.min.js.map

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

src/ne-state.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -34,7 +34,7 @@ angular.module('neState', ['ngCookies'])
3434
builder: function(stateObj){
3535
var locationPrefix = this.prefix;
3636
var encryptLocation = this.encrypt;
37-
var str = encodeURIComponent( JSON.stringify(stateObj) );
37+
var str = JSON.stringify(stateObj); //.replace(/=/,'%3D').replace(/\&/, '%26').replace(/\?/, '%3F');
3838

3939
if(encryptLocation) str = encryptString(str);
4040
return str;

0 commit comments

Comments
 (0)