Tag view does not respect user blacklist

Posts: 1 · Views: 67
  • 41149

    Steps to reproduce:

    Set up a tags blacklist, e.g.,

    anime

    go to a tag view, e.g., digital art

    (For the digital art tag, anime is a common co tag, so using anime in the blacklist and testing against the digital art view should make testing easy)

    https://wallhaven.cc/tag/479

    Images will still appear that include these tags; however, if I click "More digital art wallpapers at the bottom of the page, then search does respect the tags.

    https://wallhaven.cc/search?q=id%3A479&page=1

    Some notes from inspecting the network requests:

    It looks like: GET /tag/<tag-id> returns the html that includes the image urls in embedded in the <a> tags. I imagine this endpoint is the one that needs to be updated to include the blacklisted tag filtering.

    It looks like GET /search?q=id%3A<tag-id>&page=1 also returns html with the image urls embedded in <a> tags, but the filtering is applied correctly.

Message