mirror of
https://github.com/philomena-dev/philomena.git
synced 2024-11-30 14:57:59 +01:00
careful with reserved characters
This commit is contained in:
parent
54e775a6c6
commit
9ad3330161
1 changed files with 1 additions and 1 deletions
|
@ -21,7 +21,7 @@ defmodule PhilomenaWeb.TagView do
|
||||||
end
|
end
|
||||||
|
|
||||||
def pretty_tag_path(%{slug: slug}) do
|
def pretty_tag_path(%{slug: slug}) do
|
||||||
"/tags/" <> URI.encode(slug, &(&1 == ?+ or URI.char_unescaped?(&1)))
|
"/tags/" <> URI.encode(slug, &(&1 == ?+ or URI.char_unreserved?(&1)))
|
||||||
end
|
end
|
||||||
|
|
||||||
def tag_image(%{image: image}) do
|
def tag_image(%{image: image}) do
|
||||||
|
|
Loading…
Reference in a new issue