View Issue Details

IDProjectCategoryView StatusLast Update
0010467Talerwallet-corepublic2026-07-28 20:45
Reportersebasjm Assigned Tosebasjm Resolution deadline
ImplementerReviewer 
Release signed byDeployed by 
VerifierCommunicator 
Data protection authority notification requiredNo  
CSIRT notification requiredNo  
Estimated effort (hours)Actual effort (hours)0 
Fast-trackNo
Work packagenone
PrioritynormalSeveritytweakReproducibilityalways
Status informingResolutionfixed 
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.

Required notifications

Address or linkRemarkAdded byNotifiedActions

Activities

Florian Dold

2026-07-28 20:45

manager   ~0029290

Looks like this is done.

Issue History

Date ModifiedUsernameFieldChange
2025-10-01 21:04sebasjmNew Issue
2025-10-02 22:33Christian GrothoffSeverityminor => tweak
2025-10-02 22:33Christian GrothoffStatusnew => acknowledged
2025-10-02 22:33Christian GrothoffProduct Version => 1.0
2025-10-02 22:33Christian GrothoffTarget Version => post-1.0
2026-07-28 20:45Florian DoldAssigned To => sebasjm
2026-07-28 20:45Florian DoldStatusacknowledged => informing
2026-07-28 20:45Florian DoldResolutionopen => fixed
2026-07-28 20:45Florian DoldFixed in Version => 1.6
2026-07-28 20:45Florian DoldNote Added: 0029290
2026-07-28 20:45Florian DoldTarget Versionpost-1.0 => 1.6