invidious
invidious copied to clipboard
[Bug] Improper returning of in-comment YouTube links when utilizing the comment API
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
- Navigate to https://y.com.sb/watch?v=LHRw3sDQH1w
- Scroll down to the pinned comment
- Notice the mentioned in-comment channel is displayed as
/channel/UCuM3xKQ_D0RIMMSUh9AYxNA
Logs
Screenshots
Additional context
This issue is similar to #3038 in terms of display and solution.