View Issue Details

IDProjectCategoryView StatusLast Update
0008891Talerlibeufin-bankpublic2024-07-26 00:11
Reportersebasjm Assigned ToAntoine A  
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.

Activities

Antoine A

2024-06-06 04:13

developer   ~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 04:24

developer   ~0022522

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

Antoine A

2024-06-10 09:08

developer   ~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 Modified Username Field Change
2024-06-03 16:56 sebasjm New Issue
2024-06-03 16:56 sebasjm Status new => assigned
2024-06-03 16:56 sebasjm Assigned To => Antoine A
2024-06-06 04:13 Antoine A Note Added: 0022521
2024-06-06 04:24 Antoine A Note Added: 0022522
2024-06-10 09:08 Antoine A Status assigned => resolved
2024-06-10 09:08 Antoine A Resolution open => won't fix
2024-06-10 09:08 Antoine A Note Added: 0022562
2024-07-26 00:11 Christian Grothoff Fixed in Version => 0.12
2024-07-26 00:11 Christian Grothoff Status resolved => closed