mirror of
https://github.com/Part-DB/Part-DB-server.git
synced 2026-03-01 04:49:36 +00:00
fix(from url page): also urlencode url
This commit is contained in:
parent
79513f368b
commit
31cdb4fce1
1 changed files with 1 additions and 1 deletions
|
|
@ -250,7 +250,7 @@ class InfoProviderController extends AbstractController
|
||||||
//Redirect to the part creation page with the found part detail
|
//Redirect to the part creation page with the found part detail
|
||||||
return $this->redirectToRoute('info_providers_create_part', [
|
return $this->redirectToRoute('info_providers_create_part', [
|
||||||
'providerKey' => $searchResult->provider_key,
|
'providerKey' => $searchResult->provider_key,
|
||||||
'providerId' => $searchResult->provider_id,
|
'providerId' => urlencode($searchResult->provider_id),
|
||||||
]);
|
]);
|
||||||
}
|
}
|
||||||
} catch (ExceptionInterface $e) {
|
} catch (ExceptionInterface $e) {
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue