mirror of
https://github.com/Part-DB/Part-DB-server.git
synced 2025-06-24 18:58:46 +02:00
Allow slashes in digikey product ids
This commit is contained in:
parent
2be76a488f
commit
52c6884e28
3 changed files with 11 additions and 4 deletions
|
@ -220,7 +220,7 @@ class PartController extends AbstractController
|
|||
return $this->renderPartForm('new', $request, $new_part);
|
||||
}
|
||||
|
||||
#[Route('/from_info_provider/{providerKey}/{providerId}/create', name: 'info_providers_create_part')]
|
||||
#[Route('/from_info_provider/{providerKey}/{providerId}/create', name: 'info_providers_create_part', requirements: ['providerId' => '.+'])]
|
||||
public function createFromInfoProvider(Request $request, string $providerKey, string $providerId, PartInfoRetriever $infoRetriever): Response
|
||||
{
|
||||
$this->denyAccessUnlessGranted('@info_providers.create_parts');
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue