FC4E-WP5 / fc4eosc-PIDMR-api

fc4eosc-PIDMR-api
https://apimr.devel.argo.grnet.gr/
Apache License 2.0
1 stars 5 forks source link

& in Bibcode RegEx can not be validated #101

Closed asajedi closed 2 months ago

asajedi commented 3 months ago

Given the following Bibcode Identifier

2024A&A...688A...6A

and the following RexEx pattern

^\d{4}[A-Za-z&.]{5}[A-Za-z0-9.]{4}[A-Za-z0-9.][A-Za-z0-9.]{4}[A-Za-z]$

the & character can not be validated.

Please check and report as soon as possible.

fbasios commented 3 months ago

There is an issue with the ampersand character. The backend interprets it as a URL parameter. The frontend needs to encode it as %26, and the backend should decode it back to &. We will fix it shortly.

fbasios commented 2 months ago

This issue has been fixed.

asajedi commented 2 months ago

Great, thank you very much.