CATcher-org / CATcher

CATcher is a software application used for peer-testing of software projects.
https://catcher-org.github.io/CATcher/
MIT License
70 stars 68 forks source link

uncaught exception when going to a URL from the issue description #1212

Closed anisyusof-sc closed 11 months ago

anisyusof-sc commented 11 months ago

Describe the bug Shows an error after clicking a URL defined in the issue description.

To Reproduce Steps to reproduce the behavior:

  1. Create an issue
  2. Enter the description with URL image
  3. Click on URL image
  4. Have an uncaught exception image

Expected behavior Should go to the exepcted URL in a new tab without any errors

Screenshots Added screenshots in steps.

Desktop (please complete the following information):

Additional context None

rui-han-crh commented 11 months ago

I think this may be because the url has been written into the square brackets instead of the round brackets? [name of site](url of site) might work for this

For example [Google](https://www.google.com) -> Google

damithc commented 11 months ago

Good catch @rui-han-crh That said, it would be good if CATcher can fail more gracefully in this case.

chunweii commented 11 months ago

This is a duplicate issue of #1171. I will close this issue. We can discuss more in #1171.