Gossamer Forum
Home : Products : Links 2.0 : Discussions :

What is the diff between <%category_name%> and <%category_name_escaped%> tags?

Quote Reply
What is the diff between <%category_name%> and <%category_name_escaped%> tags?
I am getting the same output when testing both of those tags. Are they supposed to be different?
Quote Reply
Re: [dawgtoons] What is the diff between <%category_name%> and <%category_name_escaped%> tags? In reply to
Pretty much the same. From nph-build.cgi:

$category_name = $cat;
$category_name_escaped = &urlencode ($cat);

Urlencode basically looks for spaces (or anything not a-zA-Z0-9_-.), and makes it a %20. Only used for URLs.


Leonard
aka PerlFlunkie