(Zotero Connector) How should I configure the login url scheme?

Hello. Always grateful of zotero.

I think it's a quite simple question but I couldn't find the answer with my poor searching skills.
(Sorry if it's a duplicated question)

I proxy to the desired page by attaching target URL to the below string
>>>https://libproxy.(institute).ac.kr/_Lib_Proxy_Url/[target url]
and this would redirect me to
>>>https://%h.libproxy.(institute).ac.kr/%p

So I set my login and proxied URL scheme as following respectively.
>>>https://libproxy.(institute).ac.kr/_Lib_Proxy_Url/%u
>>>https://%h.libproxy.(institute).ac.kr/%p

But when I click a link to some scholar page, it returns a blank page with the address something like this:
>>>https://libproxy.(inst).ac.kr/_Lib_Proxy_Url/
https%3A%2F%2Fwww.nature.com%2Farticles%2F(article id)

When I leave Login URL scheme blank and manually reload the page with Zotero connector, it works just as good.

How should I configure my proxy?
  • So you're saying that when you navigate to

    https://example.com/foo

    the Connector redirects you to

    https://libproxy.(inst).ac.kr/_Lib_Proxy_Url/
    https%3A%2F%2Fexample.com%2Ffoo


    and your proxy isn't then redirecting you to

    https://example-com.libproxy.(institute).ac.kr/foo

    because it's expecting a raw URL after /_Lib_Proxy_Url/?

    %u is replaced with the percent-encoded URL, because that's the only way to form a valid, unambiguous URL with the inserted URL used as a path component or query parameter. Imagine the proxied URL included ? — is that a part of the outer URL or the inner one? But it sounds like maybe your institution's proxy server is set up to interpret anything after /_Lib_Proxy_Url/ as a raw URL to redirect to. We could think about providing a way to insert the raw, unencoded URL, but this is just a pretty unusual way of proxying.

    (I suppose the Wayback Machine is a notable exception here that handles URLs this way, though that's not a proxy.)
  • Yes that's exactly the case. I got what you mean. Maybe I'd just manually reload pages few times.

    Thank you always for your dedication. Merry Christmas!
Sign In or Register to comment.