0
Fixed

wrong url: url added twice to paper upload links

Cédric 1 year ago updated by Christian Fritz 1 year ago 9

Hi everyone

I observed this morning that there is a problem when trying to upload papers from my webpage.

The url item in my bibtex file are of the form: Articles/papername.pdf because they are available my papers pdf are available at the following address: http://www.mywebsite.com/Articles/" class="redactor-autoparser-object">http://www.mywebsite.com/Articles/

Bibtex now redirect paper upload attempt to the following address:

http://www.mywebsite.com/www.mywebsite.com/Articles/

which produces an error of course.

What can I do to correct this bug?

Best,

Cédric

Under review

Hi Cedric,

I wasn't able to parse your question completely. It seems something broken when you copied html into it perhaps? But I think if you can point me to your bibbase page I can figure out what's going on.

Thanks,

Christian

Hi Christian

Please have a look at my webpage: http://www.cedric-richard.fr/pub.html

Try to download a paper (not an arXiv one of course), e.g. 

Convergence analysis of the graph-topology-inference kernel LMS algorithm.

Bibbase redirects to:

http://www.cedric-richard.fr/www.cedric-richard.fr/Articles/moscu2021convergence.pdf

Thanks for your help!

It was working before.

Cédric

Thanks, I see the issue now. You are right, this is a bug and should have worked. Thanks for reporting this. 

Fortunately you can fix this easily by using a complete URL in your script tag. Please just change:

<script src="https://bibbase.org/show?bib=www.cedric-richard.fr%2Fcitations.bib&jsonp=1&group0=year&group1=type&theme=default&nocache=1"></script>

to

<script src="https://bibbase.org/show?bib=https://www.cedric-richard.fr%2Fcitations.bib&jsonp=1&group0=year&group1=type&theme=default&nocache=1"></script>

i.e., add https:// to the URL to your bibtex file. It should resolve the url correctly after that.

Christian

Thanks a lot Christian for your help.

It works well now.

All the best,

Cédric

Same problem here, see my website at:

http://www.gustavocevolani.it/#pubs

http://www.gustavocevolani.it/

If I add https:// to my URL it produces a blank page; if I just add http:// without the "s" it still produces the double address and hence errors in downloading the files.

Thanks in advance for any suggestions.

Gustavi

Hi Gustavo,

The "fix" actually does work in your case as well, but it seems that there was a caching issue. I've loaded your publications with nocache=1 using this link. And now the links on your page seem fine again. Please make sure to change the bibbase url in your page source (it still has http://bibbase.org/show?bib=www.gustavocevolani.it/Cevolani-Publications.bib&jsonp=1 right now), to make sure this doesn't break again.

Best,

Christian

Hi Christian,

many thanks for the answer and the fix. Unfortunately, it still seems not to work on my page, even after refreshing, see here for the page with the updated bibbase URL:

http://www.gustavocevolani.it/#pubs

Thanks again,

Gustavo

Gustavo,

You are using an https:// URL but your web server doesn't have a valid SSL certificate:

> curl https://www.gustavocevolani.it/Cevolani-Publications.bib
curl: (60) SSL: no alternative certificate subject name matches target host name 'www.gustavocevolani.it'
More details here: <a href="https://curl.haxx.se/docs/sslcerts.html" class="redactor-autoparser-object">https://curl.haxx.se/docs/sslcerts.html</a>

curl failed to verify the legitimacy of the server and therefore could not
establish a secure connection to it. To learn more about this situation and
how to fix it, please visit the web page mentioned above.

Please either use http://www.gustavocevolani.it/Cevolani-Publications.bib or get a valid SSL certificate for your webserver.