question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

`fork-source-link-same-view`: The `forked from` link will be broken if the case doesn't match

See original GitHub issue

If you set your personal token and visit https://github.com/johntitor/rust-forge (note that the capitalization!), the forked from link will be broken.

The link will be:

image

The link causes 404 instead of moving to parent repo (e.g.: https://github.com/rust-lang/rust-forge/undefined/master). But if you don’t set the token or visit with the correct capitalization, the issue doesn’t happen.

Steps to reproduce

  1. Set your personal token.
  2. Find any fork repo that username has an upper case.
  3. Visit there ignoring capitalization.

Expected behavior

The link should be such as https://github.com/owner/repo

Actual behavior

It points to https://github.com/owner/repo/undefined/master

Environment

  • Browser: Firefox 78.0.2
  • Extension version: 20.7.19
  • OS: Windows 10

Issue Analytics

  • State:closed
  • Created 3 years ago
  • Comments:24 (19 by maintainers)

github_iconTop GitHub Comments

2reactions
fregantecommented, Jul 23, 2020

We don’t have special logic for that button

We kind of have logic, but only if you’re in a file or folder. Following these steps doesn’t trigger that logic however:

Steps to reproduce

  1. Visit a repo that you have fork repo.
  2. Click the shortcut and go to (your) fork repo.
  3. See forked from owner/repo link.
1reaction
fregantecommented, Jul 23, 2020

how did you get it to error? What link?

https://github.com/johntitor/rust-forge

👆 this is why we ask for the exact link when opening an issue.

Read more comments on GitHub >

github_iconTop Results From Across the Web

Delete fork dependency of a GitHub repository - Stack Overflow
I forked a project in GitHub. I can now see "forked from whatever/whatever". The parent repository "whatever/whatever" is no longer maintained. I have...
Read more >
Syncing a fork - GitHub Docs
Syncing a fork branch from the web UI. On GitHub, navigate to the main page of the forked repository that you want to...
Read more >
Allow option of converting forks to repos
Migrated from Azure DevOps UserVoice forum. Usecase: We have a repo A and we forked that to A.fork. We now want to convert...
Read more >
Sync a GitHub Repo: How To Ensure Your GitHub Fork Is Up ...
Sync your fork of a GitHub repo using GitHub.com. Update your local clone of your forked repository (repo) using git pull . Syncing...
Read more >
How to Sync and Update a Forked Repository - Section.io
Fork is a copy of a repository of someone's else project. · Remote a repository on GitHub account exists as a remote repository....
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found