mirror of
https://github.com/blakeblackshear/frigate.git
synced 2026-02-13 06:35:24 +03:00
Url encode export name
This commit is contained in:
parent
d624d7b71e
commit
5e09368340
@ -66,7 +66,7 @@ function Exports() {
|
||||
const onHandleRename = useCallback(
|
||||
(id: string, update: string) => {
|
||||
axios
|
||||
.patch(`export/${id}/${update}`)
|
||||
.patch(`export/${id}/${encodeURIComponent(update)}`)
|
||||
.then((response) => {
|
||||
if (response.status == 200) {
|
||||
setDeleteClip(undefined);
|
||||
|
||||
Loading…
Reference in New Issue
Block a user