fix(from url page): also urlencode url

This commit is contained in:
Hannes Rüger 2026-02-11 22:34:28 +01:00
parent 79513f368b
commit 31cdb4fce1
No known key found for this signature in database
GPG key ID: 3F842590882C2E0C

View file

@ -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) {