necouchman commented on code in PR #1004:
URL: https://github.com/apache/guacamole-client/pull/1004#discussion_r1805685246


##########
guacamole-ext/src/main/java/org/apache/guacamole/token/TokenFilter.java:
##########
@@ -225,15 +225,21 @@ private String filter(String input, boolean strict)
                 // strict mode is enabled
                 if (tokenValue == null) {
 
+                    // Token marked as optional, so just skip it and update
+                    // last match.
+                    if (modifier != null && modifier.equals("OPTIONAL")) {

Review Comment:
   Yeah, that's probably a good call - depending on the number of connections 
and number of times this occurs, a `warn` message could get quite frequent. 
Changed via rebase.



-- 
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: dev-unsubscr...@guacamole.apache.org

For queries about this service, please contact Infrastructure at:
us...@infra.apache.org

Reply via email to