-
-
Notifications
You must be signed in to change notification settings - Fork 3.6k
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
[ipcamera] Handle empty snapshotUrls and XML encoded characters #15707
Conversation
Signed-off-by: Kai Kreuzer <kai@openhab.org>
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.
LGTM
Let's give a chance to @Skinah to review. |
Signed-off-by: Kai Kreuzer <kai@openhab.org>
LGTM, thanks for PR. |
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.
LGTM, thank you
@kaikreuzer : a conflict has to be resolved before I can merge. |
Signed-off-by: Kai Kreuzer <kai@openhab.org>
@lolodomo: Conflicts resolved. |
…hab#15707) * [ipcamera] Handle empty snapshotUrls and XML encoded characters * use unescape method from StringUtils --------- Signed-off-by: Kai Kreuzer <kai@openhab.org>
…hab#15707) * [ipcamera] Handle empty snapshotUrls and XML encoded characters * use unescape method from StringUtils --------- Signed-off-by: Kai Kreuzer <kai@openhab.org> Signed-off-by: querdenker2k <querdenker2k@gmx.de>
…hab#15707) * [ipcamera] Handle empty snapshotUrls and XML encoded characters * use unescape method from StringUtils --------- Signed-off-by: Kai Kreuzer <kai@openhab.org> Signed-off-by: Jørgen Austvik <jaustvik@acm.org>
My ONVIF camera does not provide a snapshotUrl and the binding crashed when trying to parse the empty url.
Additionally, the rtsp url contains an
&
, which is XML encoded and needs to be decoded first.Both issues are fixed by this PR.