Wrong URL for author commits view on branch

I am on this ( Commits · github/docs · GitHub ) page.

Now for Octomerger has the last commit and when I click on profile to see commits by this user it will give below URL which is true.

But now I am in sub branch
Lets on this( Commits · github/docs · GitHub ) page

Now for kleeadrian has the last commit and when I click on profile to see commits by this user it will give below URL which is wrong.

instead it should be Commits · github/docs · GitHub
or you should keep author param in next requests.