-
Notifications
You must be signed in to change notification settings - Fork 2.3k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Fix unescaped arguments in websockify command #1741
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thank you for your fix!
I'm afraid it isn't entirely correct, though. Please have a look at the comment.
utils/novnc_proxy
Outdated
--record) RECORD_ARG="--record ${OPTARG}"; shift ;; | ||
--syslog) SYSLOG_ARG="--syslog ${OPTARG}"; shift ;; | ||
--record) RECORD_ARG='--record "${OPTARG}"'; shift ;; | ||
--syslog) SYSLOG_ARG='--syslog "${OPTARG}"'; shift ;; |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I'm afraid '
disables variable expansion, so this won't work.
@tutacat do you think you will get a chance to fix this? |
This looks better, but unfortunately, it still doesn't work. It is still splitting the words for the record, syslog and auth arguments. |
No response. Closing. |
Yes. I am a "volounteer". Not 100% of my time is github. Not all minds work the same, either. |
I understand, and we do try to give some time before we consider something abanonded. I can gladly reopen it if it's not abandoned and you'd like to resume the work? |
hiya sorry about this pull, it was easier to make a new one |
When passing a path with spaces to websockify, it is incorrectly read as multiple arguments, because the args weren't enclosed in quotes.