Skip to content

Commit

Permalink
onvif: unescape xml strings
Browse files Browse the repository at this point in the history
  • Loading branch information
koush committed Feb 27, 2023
1 parent 9307bbd commit 7575dd8
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 4 deletions.
4 changes: 2 additions & 2 deletions plugins/onvif/package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion plugins/onvif/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@scrypted/onvif",
"version": "0.0.111",
"version": "0.0.112",
"description": "ONVIF Camera Plugin for Scrypted",
"author": "Scrypted",
"license": "Apache",
Expand Down
2 changes: 1 addition & 1 deletion plugins/onvif/src/main.ts
Original file line number Diff line number Diff line change
Expand Up @@ -464,7 +464,7 @@ class OnvifProvider extends RtspProvider implements DeviceDiscovery {
for (const scope of splitScopes) {
for (const known of Object.keys(knownScopes)) {
if (scope.startsWith(known)) {
knownScopes[known] = scope.substring(known.length);
knownScopes[known] = decodeURIComponent(scope.substring(known.length));
}
}
}
Expand Down

0 comments on commit 7575dd8

Please sign in to comment.