aresliharris commented on code in PR #832:
URL: https://github.com/apache/guacamole-client/pull/832#discussion_r1170667245
##########
guacamole/src/main/frontend/src/app/rest/services/tunnelService.js:
##########
@@ -96,20 +96,18 @@ angular.module('rest').factory('tunnelService',
['$injector',
* success.
*/
service.getProtocol = function getProtocol(tunnel) {
-
- // Build HTTP parameters set
- var httpParameters = {
- token : authenticationService.getCurrentToken()
- };
-
+ // GUACAMOLE-956: replace http parameter with header | START
// Retrieve the protocol details of the specified tunnel
return requestService({
method : 'GET',
url : 'api/session/tunnels/' + encodeURIComponent(tunnel)
+ '/protocol',
- params : httpParameters
- });
+ headers: {
+ 'Guacamole-Token': authenticationService.getCurrentToken(),
+ }
Review Comment:
Adding the Jira here: https://issues.apache.org/jira/browse/GUACAMOLE-1775
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]