necouchman commented on code in PR #1004:
URL: https://github.com/apache/guacamole-client/pull/1004#discussion_r1802151628
##########
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:
You mean just a `Logger` warning, to the log file? Or you thinking some sort
of on-screen warning?
--
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]