You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Need to tighten encoding handling for some types. #180
>>> from packageurl import PackageURL as P
>>> P.from_string(str(P.from_string("pkg:maven/com.apache%3Afoo/foobar@1.2.3")))
Traceback (most recent call last):
File "<stdin>", line 1, in <module>
File "/home/tmp/purl/venv/lib/python3.10/site-packages/packageurl/__init__.py", line 508, in from_string
raise ValueError(msg)
ValueError: Invalid purl 'pkg:maven/com.apache:foo/foobar@1.2.3' cannot contain a "user:pass@host:port" URL Authority component: ''.
Activity
pombredanne commentedon Feb 12, 2025
We cannot round trip:
Pass latest spec tests