Skip to content

Commit 5450141

Browse files
fix: encode source URL during API lookup (#138)
1 parent 99a48db commit 5450141

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/assets/ts/features/asset/thunks/update-proposal.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -35,7 +35,7 @@ export const updateProposal = createAsyncThunk<
3535
const queryParams = [
3636
'and=(type.not.eq.edge-app-file,type.not.eq.edge-app)',
3737
'or=(status.eq.downloading,status.eq.processing,status.eq.finished)',
38-
`source_url=eq.${url}`,
38+
`source_url=eq.${encodeURIComponent(url)}`,
3939
].join('&');
4040
const result = await callApi(
4141
'GET',

0 commit comments

Comments
 (0)