View Issue Details

IDProjectCategoryView StatusLast Update
0008891Talerlibeufin-bankpublic2024-07-25 22:11
Reportersebasjm Assigned ToAntoine A 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
PrioritynormalSeveritymajorReproducibilityalways
Status closedResolutionwon't fix 
Product Version0.12 
Target Version0.12Fixed in Version0.12 
Summary0008891: invalid payto create
Descriptioni can create a bank account with underscore in the username
if the bank is x-taler-bank it will create my payto will include _

`_` is not in [the spec](https://www.rfc-editor.org/rfc/rfc8905.html#name-syntax-of-a-payto-uri)

either it should remove the _ or it should not allow to create username with _
TagsNo tags attached.

Required notifications

Address or linkRemarkAdded byNotifiedActions

Activities

Antoine A

2024-06-06 02:13

manager   ~0022521

Removing the _ could create collisions, so I would be in favor of making the username format more restrictive. Currently, the regex is [a-zA-Z0-9\-\._~]+. If we want to align with payto's specifications we should remove support for _ and ~: [a-zA-Z0-9\-\.]+. I will ask christian about it

Antoine A

2024-06-06 02:24

manager   ~0022522

To fully comply with the spec I think it should be [a-zA-Z][a-zA-Z0-9\-\.]*

Antoine A

2024-06-10 07:08

manager   ~0022562

The payto uri currently generated does follow the specification, I'm closing waiting for more details when it fails again with another component.

Issue History

Date ModifiedUsernameFieldChange
2024-06-03 14:56sebasjmNew Issue
2024-06-03 14:56sebasjmStatusnew => assigned
2024-06-03 14:56sebasjmAssigned To => Antoine A
2024-06-06 02:13Antoine ANote Added: 0022521
2024-06-06 02:24Antoine ANote Added: 0022522
2024-06-10 07:08Antoine AStatusassigned => informing
2024-06-10 07:08Antoine AResolutionopen => won't fix
2024-06-10 07:08Antoine ANote Added: 0022562
2024-07-25 22:11Christian GrothoffFixed in Version => 0.12
2024-07-25 22:11Christian GrothoffStatusinforming => closed