Skip to content

additonal/iban.js: IBAN with trailing whitespace failed #970

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Closed
christianhaller opened this issue Jan 9, 2014 · 1 comment
Closed

additonal/iban.js: IBAN with trailing whitespace failed #970

christianhaller opened this issue Jan 9, 2014 · 1 comment

Comments

@christianhaller
Copy link
Contributor

Hi,
this IBAN DE53200505501243477580 is failing, when there is a trailing whitespace.

but:
This one DE03 2519 0001 0129 2501 00 is valid with a trailing whitespace.

@jzaefferer
Copy link
Collaborator

Looks like the method is doing a basic check first, then removing whitespace. Removing whitespace should probably happen first. Could you put together a PR for that?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants