Fix missing session parameters if session cookies are disabled #47
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Proposed change
Some action in the frontend open the login page instead of what was requested, if the use of cookies is disabled.
I added the session name and session id as parameter where i found them to be missing.
Type of change
Additional information
To reproduce the bug, set the setting "SessionUseCookie" to false.
Try to download the support package using the web interface.
Details to reproduce each error (click to expand)
File
var/httpd/htdocs/js/Core.SystemConfiguration.js
Problem
Changes from line: 192
index.pl?Action=AdminSystemConfiguration;
On the left side in the navigation widget, hover with the mouse over an entry and click on the
icon, that pops up to open the node in a new window
Problem: Login page is shown
Problem
Changes from line: 1624
index.pl?Action=AdminSystemConfiguration;
On the left side in the navigation widget, click on a node.
Then click on the new entry in the breadcrumb.
Problem: Login page is shown
File
var/httpd/htdocs/js/Core.Agent.Admin.SupportDataCollector.js
Problem
Changes from line: 1624
index.pl?Action=AdminSupportDataCollector;
Click on the left on "Generate Support Bundle" and after that on "Download" in the dialog.
Problem: Login page is shown
File
var/httpd/htdocs/js/Core.Agent.Admin.CommunicationLog.js
Problem
Changes from line: 106
index.pl?Action=AdminCommunicationLog;
On the left, change the value of "Time Range" [#TimeRange]
Problem: Login page is shown
Problem
Changes from line: 121
index.pl?Action=AdminCommunicationLog;Subaction=Accounts;
On the left, change the value of "Time Range" [#TimeRangeAccounts]
Problem: Login page is shown
Problem
Changes from line: 136
index.pl?;Action=AdminCommunicationLog;
select a communicatiob from a status status.
Change the priority filter on the left.
Problem: Login page is shown
File
Znuny/var/httpd/htdocs/js/Core.Agent.AppointmentCalendar.js
Problem
Changes from line: 510
index.pl?Action=AgentAppointmentCalendarOverview;
Create an entry in the calendar.
Open the overview or change the visibility of a calendar.
Problem: Login page is shown
Checklist