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

Bad url when using F12 #32

Open
billybraga opened this issue May 5, 2017 · 4 comments
Open

Bad url when using F12 #32

billybraga opened this issue May 5, 2017 · 4 comments

Comments

@billybraga
Copy link

Goes to this url, which gives an error message : http://referencesource.microsoft.com/System.Core/a7.html#783a052330e7d48d

@IanKemp
Copy link

IanKemp commented Jun 5, 2017

This bug is pretty critical since it makes Ref12 completely unusable.

Seems it's because Microsoft changed the hashes they use to link to the code files (maybe with the release of Framework 4.7 the hashes automatically updated?), hence Ref12's hardcoded ones no longer match and MS can't find them to do the redirect. Amusingly enough, Microsoft's own Link to a type/member link on the front page of referencesource.microsoft.com suffers from the same problem.

For example, Ref12 is passing a80c803cd6c25112 for System/Linq/Enumerable.cs (which gets translated to 80c803c by MS's JavaScript), but Microsoft's hash for that file is 0f3613a.

Assuming MS did change the hashes intentionally, and will continue to do so in future - perhaps it would be a better long-term solution to have this extension pull the list of latest file hashes from a URL every so often, and cache them locally?

@paul1956
Copy link

paul1956 commented Jun 6, 2017

Not sure if this is the same issue but when I try going to a reference in VB for example "Keys.A" I get sent to the link below
http://referencesource.microsoft.com/System.Windows.Forms/ac.html#c9ea55b52b93f5c4 with the message.

Don't use this page directly, pass #symbolId to get redirected."

@IanKemp
Copy link

IanKemp commented Jun 6, 2017

@paul1956 Yes, it's the same issue.

@IanKemp
Copy link

IanKemp commented Jun 18, 2017

Now tracked at microsoft/referencesource#28

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

No branches or pull requests

3 participants