View Issue Details
ID | Project | Category | View Status | Date Submitted | Last Update |
---|---|---|---|---|---|
0010467 | Taler | wallet-core | public | 2025-10-01 23:04 | 2025-10-01 23:04 |
Reporter | sebasjm | Assigned To | |||
Priority | normal | Severity | minor | Reproducibility | always |
Status | new | Resolution | open | ||
Summary | 0010467: taler-utils: we should have a specific host-port-path parser | ||||
Description | instead 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. | ||||
Tags | No tags attached. | ||||
Date Modified | Username | Field | Change |
---|---|---|---|
2025-10-01 23:04 | sebasjm | New Issue |