flozender / SOEN6441-AK_G03

GNU General Public License v3.0
1 stars 0 forks source link

Wrong redirection of contributor [bot] hyperlink #25

Open NazaninAhmady opened 2 years ago

NazaninAhmady commented 2 years ago

image

Steps to reproduce:

  1. Search a Repo "HTML issues"
  2. click on the user m4thieulavoie and open his repo broorganized.
  3. click on the hypertext dependabot[bot]. It is redirecting with an error message.

please refer to the image.

http://localhost:9000/repos/m4thieulavoie/brorganized

http://localhost:9000/users/dependabot[bot]

To my understanding, dependabot[bot] is not a real user.

Should we not hyperlink it ? or is not expected contributor as API fails for users/{bot}

Thanks,

NazaninAhmady commented 2 years ago

@flozender @pedramnoori Hi Guys FYI. Please let us know if this issue is valid and if yes, we can assign and fix it.

Best, Nazanin

flozender commented 2 years ago

Good catch, it fails because of the [ in the repo name. We may have to encode the repository names before passing them to the URL and then decode them in the controller. Not a high priority right now.