adsabs / export_service

Export service to output ADS records with various formats including BibTex, AASTex, and multiple tagged and xml options
MIT License
3 stars 5 forks source link

revisit URL field encoding #224

Open golnazads opened 2 years ago

golnazads commented 2 years ago

https://github.com/adsabs/export_service/blob/master/exportsrv/formatter/customFormat.py#L739

as per Dave Green dag@mrao.cam.ac.uk ''' The & in the bibcode is not escaped with %/R, but I see that some characters have been escaped in %/U ... but this has escaped the space in "<A HREF=..." to "+", which is not correct I think as that space is not in the URL itself, and the double quotation marks around the URL have been change to "%23" (possibly again not correct?). But the "&" has not been escaped to "%26". '''