Explorar el Código

[hotfix] encode title and content field for global search (#3881)

version-14
Makarand Bauskar hace 8 años
committed by GitHub
padre
commit
6298446be8
Se han modificado 1 ficheros con 2 adiciones y 2 borrados
  1. +2
    -2
      frappe/website/router.py

+ 2
- 2
frappe/website/router.py Ver fichero

@@ -349,9 +349,9 @@ def sync_global_search():
frappe.flags.update_global_search.append(
dict(doctype='Static Web Page',
name=route,
content=frappe.text_type(text),
content=text_type(text),
published=1,
title=soup.title.string,
title=text_type(soup.title.string),
route=route))

except Exception:


Cargando…
Cancelar
Guardar