View Issue Details

IDProjectCategoryView StatusLast Update
0010467Talerwallet-corepublic2026-07-28 22:45
Reportersebasjm Assigned Tosebasjm  
PrioritynormalSeveritytweakReproducibilityalways
Status resolvedResolutionfixed 
Product Version1.0 
Target Version1.6Fixed in Version1.6 
Summary0010467: taler-utils: we should have a specific host-port-path parser
Descriptioninstead of relying on new URL() as baseUrl

problems of the current approach:

* the spec is very narrow and specific about the characters allowed
* not easy to use
* the error is return as a thrown message and not by error code

we are using https://url.spec.whatwg.org/#concept-basic-url-parser

and we only need
> 'path-abempty' is defined in [RFC3986] in Section 3.3. 'query' is defined in [RFC3986], in Section 3.4.

thus if we are not careful we will be allowing username, password, hash and scheme when parsing an url.

this is specific to payto URI and taler URI.

It will be also useful for the parser to return error codes to be used on an input on the UI and help the user to diagnose the string.

TagsNo tags attached.

Activities

Florian Dold

2026-07-28 22:45

manager   ~0029290

Looks like this is done.

Issue History

Date Modified Username Field Change
2025-10-01 23:04 sebasjm New Issue
2025-10-03 00:33 Christian Grothoff Severity minor => tweak
2025-10-03 00:33 Christian Grothoff Status new => acknowledged
2025-10-03 00:33 Christian Grothoff Product Version => 1.0
2025-10-03 00:33 Christian Grothoff Target Version => post-1.0
2026-07-28 22:45 Florian Dold Assigned To => sebasjm
2026-07-28 22:45 Florian Dold Status acknowledged => resolved
2026-07-28 22:45 Florian Dold Resolution open => fixed
2026-07-28 22:45 Florian Dold Fixed in Version => 1.6
2026-07-28 22:45 Florian Dold Note Added: 0029290
2026-07-28 22:45 Florian Dold Target Version post-1.0 => 1.6