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

Change how feed view is linked #2023

Merged
merged 1 commit into from
Aug 9, 2023
Merged

Change how feed view is linked #2023

merged 1 commit into from
Aug 9, 2023

Conversation

david-a-wheeler
Copy link
Collaborator

I am trying to determine why users are being redirected when they should not be redirected.

When viewing the main page, the URLs are fine until "auto_discovery_link_tag" is called, and from then on the domain name is wrong. My hypothesis: this routine is incorrectly setting a global variable for the hostname, causing later calls to be wrong.

So let's instead force the URL to a local reference, which is fine and eliminates the call entirely. I don't know if this will solve the problem, but this change is harmless, and its results can tell us if we're on the right track.

I am trying to determine why users are being redirected when they
should *not* be redirected.

When viewing the main page, the URLs are fine until
"auto_discovery_link_tag" is called, and from then on the domain
name is wrong. My hypothesis: this routine is incorrectly setting
a global variable for the hostname, causing later calls to be wrong.

So let's instead force the URL to a local reference, which is fine
and eliminates the call entirely. I don't know if this will solve the
problem, but this change is harmless, and its results can tell us
if we're on the right track.

Signed-off-by: David A. Wheeler <[email protected]>
@codecov
Copy link

codecov bot commented Aug 9, 2023

Codecov Report

Patch and project coverage have no change.

Comparison is base (0efb7d5) 98.03% compared to head (d8d0d1a) 98.03%.

Additional details and impacted files
@@           Coverage Diff           @@
##             main    #2023   +/-   ##
=======================================
  Coverage   98.03%   98.03%           
=======================================
  Files          53       53           
  Lines        2091     2091           
=======================================
  Hits         2050     2050           
  Misses         41       41           

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

@david-a-wheeler david-a-wheeler merged commit afb6910 into main Aug 9, 2023
6 checks passed
@david-a-wheeler david-a-wheeler mentioned this pull request Nov 28, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant