url payload generator should detect all-caps protocol by mharen · Pull Request #447 · Shane32/QRCoder
thanks for your help. The change fixes the problem, thus I merged it. :-)
In future I propably will replace it by a Regex, because I think the startswith solution is somehow weak. Think about an input like "http-service.com". It would be matched by the startswith and the generator wouldn't prefix it, even if the protocol is missing.
With an Regex we may avoid it: https://regex101.com/r/PbTCnq/1