invidious icon indicating copy to clipboard operation
invidious copied to clipboard

[Bug] Improper returning of in-comment YouTube links when utilizing the comment API

Open lamemakes opened this issue 2 years ago • 0 comments

Describe the bug

When using the comments API to get the comments on a specific video (ie. https://y.com.sb/api/v1/comments/LHRw3sDQH1w?continuation=&sort_by=top) if a comment has a normal URL to a channel (ie. https://www.youtube.com/channel/UCuM3xKQ_D0RIMMSUh9AYxNA) invidious will properly link to the channel, but display it without the proper YouTube URL but rather the stripped down invidious URL.

Steps to Reproduce

  1. Navigate to https://y.com.sb/watch?v=LHRw3sDQH1w
  2. Scroll down to the pinned comment
  3. Notice the mentioned in-comment channel is displayed as /channel/UCuM3xKQ_D0RIMMSUh9AYxNA

Logs

Screenshots

Screenshot from 2023-06-12 09-52-02

Additional context

This issue is similar to #3038 in terms of display and solution.

lamemakes avatar Jun 12 '23 14:06 lamemakes