mirror of
https://github.com/frappe/erpnext.git
synced 2026-05-08 15:51:19 +00:00
Merge branch 'master' of github.com:webnotes/erpnext
This commit is contained in:
@@ -1,5 +1,5 @@
|
||||
import webnotes, conf, os
|
||||
from webnotes.utils import cint, cstr
|
||||
from webnotes.utils import cint, cstr, encode
|
||||
|
||||
def get_templates_path():
|
||||
return os.path.join(os.path.dirname(conf.__file__), "app", "website", "templates")
|
||||
@@ -72,7 +72,7 @@ def update_template_args(page_name, args):
|
||||
args[k] = cint(args.get(k) or 0)
|
||||
|
||||
args.url = quote(str(get_request_site_address(full_address=True)), str(""))
|
||||
args.encoded_title = quote(str(args.title or ""), str(""))
|
||||
args.encoded_title = quote(encode(args.title or ""), str(""))
|
||||
|
||||
return args
|
||||
|
||||
Reference in New Issue
Block a user