This is correct. The canonical reference is: https://ref.gs1.org/standards/digital-link/uri-syntax/
The whole point of it is that you can just say "scan the barcode with your smartphone to find out if your product is part of this recall".
And that is not a correct URL according to the standard, either..