[resolved: used %u instead] Proxy settings - %p not replaced?
188BET靠谱吗First of all, thanks for making Zotero and the proxy redirection.it is an awesome feature!
But today i came across a problem.Most of our university's subscriptions can be accessed via the oclc proxy.This works fine.
But O'Reilly uses its own institutional login flow, so i wanted to add a "proxy" config for their page.
With the current config (that i'll post below), i came as far as manually reloading via proxy successfully brings up the university auth dialog, but after logging in, it redirects me to the wrong page.
proxied url scheme:
Hostnames:
But today i came across a problem.Most of our university's subscriptions can be accessed via the oclc proxy.This works fine.
But O'Reilly uses its own institutional login flow, so i wanted to add a "proxy" config for their page.
With the current config (that i'll post below), i came as far as manually reloading via proxy successfully brings up the university auth dialog, but after logging in, it redirects me to the wrong page.
current proxy config:
login URL scheme:https://learning.oreilly.com/accounts/login-academic-check/?idp-slug=technische-hochschule-nuernberg-georg-simon&next=/%p
proxied url scheme:
https://learning.oreilly.com/%p
Hostnames:
www.oreilly.com
Example:
- I visit
https://www.oreilly.com/library/view/the-online-advertising/9780470051054/
- I manually reload via OReilly proxy
- 188BET靠谱吗Zotero redirects me to the auth screen of my university
- After authenticating, the page i get redirected to is
https://learning.oreilly.com/%p
(yes, literal %p) - the page i would have expected is
https://learning.oreilly.com/library/view/the-online-advertising/9780470051054/
Debug ID of example
D1769369900
- Does
%p
only work in proxied URL scheme (the help text says "You may use the following variables in your proxy schemes[...]
")? - Is the forward slash an escape character?
- Can this even work what i'm trying to do here?
%u
, since you wouldn't usually redirect back to the same hostname from the proxy login page.Does using
https://learning.oreilly.com/accounts/login-academic-check/?idp-slug=technische-hochschule-nuernberg-georg-simon&next=%u
not work as a scheme?Thank you for helping out @adomasven!