mirror of
https://github.com/philomena-dev/philomena.git
synced 2025-01-20 06:37:59 +01:00
uri encoded slug lookups
This commit is contained in:
parent
3046da7c67
commit
c53c7d283f
1 changed files with 1 additions and 1 deletions
|
@ -35,7 +35,7 @@ defmodule PhilomenaWeb.TagController do
|
|||
|
||||
tag =
|
||||
Tag
|
||||
|> where(slug: ^slug)
|
||||
|> where(slug: ^URI.encode(slug))
|
||||
|> preload([:aliases, :implied_tags, :implied_by_tags, :dnp_entries, public_links: :user])
|
||||
|> Repo.one()
|
||||
|
||||
|
|
Loading…
Reference in a new issue