Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
例如,当我在 smarty 中将给定链接的 url 与字符串连接时,链接' /code/1113321 '的 href 是' basic_url/code/1113321 ',但是当单击链接时,它会导致' basic_url%2Fcode%2F1113321 '. 如何用 替换%标志/?
' /code/1113321 '
' basic_url/code/1113321 '
' basic_url%2Fcode%2F1113321 '
%
/
也许你可以帮助这样的建设:
//index - controller name <a href="{url controller=index code=1113321}">link</a>