Skip to content

Commit

Permalink
Authorization enhance (covers the case when CSP cookie is not set)
Browse files Browse the repository at this point in the history
  • Loading branch information
nikitaeverywhere committed Dec 28, 2015
1 parent 22134e7 commit 999e8b1
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion export/WebTerminal/Router.xml
Original file line number Diff line number Diff line change
Expand Up @@ -100,7 +100,7 @@ Method writes application HTML.</Description>
<ClassMethod>1</ClassMethod>
<ReturnType>%Status</ReturnType>
<Implementation><![CDATA[
set cookie = %session.CSPSessionCookie
set cookie = $System.Encryption.Base64Encode(%session.Key)
// Put the name of authorized user in a global to authorize WebSocket WebTerminal connection
set ^WebTerminal("AuthUser", cookie) = $LB(
$LISTGET(%session.SecurityContext, 1), // username
Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
"title": "Cache WEB Terminal",
"description": "Web-based terminal emulator for Caché administering.",
"author": "ZitRo",
"version": "3.2.0",
"version": "3.2.1",
"releaseNumber": 19,
"repository": {
"type": "git",
Expand Down

0 comments on commit 999e8b1

Please sign in to comment.