diff options
-rwxr-xr-x | bin/mqtt-multipub | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/bin/mqtt-multipub b/bin/mqtt-multipub index 40eba91..255220c 100755 --- a/bin/mqtt-multipub +++ b/bin/mqtt-multipub @@ -33,6 +33,8 @@ sub parse_content_string { } return $content; } + # Allow //foo as escape for literal /foo messages + $raw_content =~ s{ ^ / / }{/}x; return $raw_content; } |