Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

beck-online: Allow detection of proxied URLs #2624

Merged
merged 2 commits into from
Aug 13, 2021

Conversation

AbeJellinek
Copy link
Member

This is a hack. EZproxy replaces dots with dashes in proxied HTTPS URLs, so the connector undoes that by replacing dashes with dots. Unfortunately, that means that beck-online.beck.de will be proxied to beck-online-beck-de and then de-proxied by the connector to beck.online.beck.de. Accepting a dot in addition to a dash sidesteps the issue.

Fixes #2598.

This is a hack. EZproxy replaces dots with dashes in proxied HTTPS URLs,
so the connector undoes that by replacing dashes with dots.
Unfortunately, that means that beck-online.beck.de will be proxied to
beck-online-beck-de and then de-proxied by the connector to
beck.online.beck.de. Accepting a dot in addition to a dash sidesteps the
issue.
@dstillman
Copy link
Member

What URL gets saved to Zotero in this case?

@AbeJellinek
Copy link
Member Author

Oh, that would seem to be a separate issue - the permalink href was relative instead of absolute. Fixed now.

There are also some tests that aren't detecting anymore, but I'll work on that in a separate PR.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

Successfully merging this pull request may close these issues.

Adjust target URL for beck-online
2 participants