Fix URL parsing and detection across multiple features by fregante · Pull Request #8358 · refined-github/refined-github · GitHub
Skip to content

Fix URL parsing and detection across multiple features#8358

Merged
fregante merged 3 commits into
mainfrom
repo-root
Apr 8, 2025
Merged

Fix URL parsing and detection across multiple features#8358
fregante merged 3 commits into
mainfrom
repo-root

Conversation

@fregante

@fregante fregante commented Mar 31, 2025

Copy link
Copy Markdown
Member

@fregante fregante added the bug label Mar 31, 2025

Copy link
Copy Markdown
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

The issue was two-fold:

  • isRepoRoot was wrong due to a change in document.title I guess
  • we treated all URLs with %2F as root, which appears to not be the case anymore

Copy link
Copy Markdown
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Also fixed the TODO while preserving slashed-branches detection

@fregante fregante requested a review from kovsu April 8, 2025 10:45
@fregante fregante enabled auto-merge (squash) April 8, 2025 10:45
@fregante fregante merged commit df147a2 into main Apr 8, 2025
@FloEdelmann FloEdelmann deleted the repo-root branch May 19, 2025 15:46
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

1 participant