Fix "URI malformed" crashes on Windows
This commit is contained in:
parent
a4a27724bf
commit
3306c82992
3 changed files with 21 additions and 4 deletions
|
@ -1,4 +1,4 @@
|
|||
// Copyright 2020 Signal Messenger, LLC
|
||||
// Copyright 2020-2021 Signal Messenger, LLC
|
||||
// SPDX-License-Identifier: AGPL-3.0-only
|
||||
|
||||
import React from 'react';
|
||||
|
@ -26,7 +26,7 @@ export const CallBackgroundBlur = ({
|
|||
<div
|
||||
className="module-calling__background--blur"
|
||||
style={{
|
||||
backgroundImage: `url("${avatarPath}")`,
|
||||
backgroundImage: `url('${encodeURI(avatarPath)}')`,
|
||||
}}
|
||||
/>
|
||||
)}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue