necouchman commented on a change in pull request #511:
URL: https://github.com/apache/guacamole-client/pull/511#discussion_r602658052
##########
File path:
extensions/guacamole-auth-quickconnect/src/main/java/org/apache/guacamole/auth/quickconnect/QuickConnectDirectory.java
##########
@@ -106,6 +114,12 @@ public String create(GuacamoleConfiguration config) throws
GuacamoleException {
// Generate a name for the configuration.
String name = QCParser.getName(config);
+ // Purge configuration parameters that are either not allowed or are
+ // explicitly denied.
+ QCParser.purgeConfigParameters(config,
+ confService.getAllowedParameters(),
+ confService.getDeniedParameters());
Review comment:
Sure, makes sense. I've got the changes almost done - just need to clean
up the unit tests.
--
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.
For queries about this service, please contact Infrastructure at:
[email protected]