Skip to content

Commit

Permalink
Visor: WolfRecorder authprefill delimiter replaced with underscore th…
Browse files Browse the repository at this point in the history
…at is more safe for URLs
  • Loading branch information
nightflyza committed Feb 1, 2024
1 parent ecde540 commit 2e43ad0
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion RELEASE
Original file line number Diff line number Diff line change
@@ -1 +1 @@
1.4.3 rev 9057
1.4.3 rev 9058
2 changes: 1 addition & 1 deletion api/libs/api.ubillingvisor.php
Original file line number Diff line number Diff line change
Expand Up @@ -3221,7 +3221,7 @@ public function getUserDvrAuthData($visorId) {
if ($dvrData['type'] == 'wolfrecorder') {
$prefill = '';
if (!empty($secretsData['login']) AND !empty($secretsData['password'])) {
$prefill = '?authprefill=' . $secretsData['login'] . '|' . $secretsData['password'];
$prefill = '?authprefill=' . $secretsData['login'] . '_' . $secretsData['password'];
}
if (empty($dvrData['apiurl'])) {
$result[$each['dvrid']]['weburl'] = 'http://' . $dvrData['ip'] . '/wr/' . $prefill;
Expand Down

0 comments on commit 2e43ad0

Please sign in to comment.