소스 검색

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

version-14
Makarand Bauskar 8 년 전
committed by GitHub
부모
커밋
6298446be8
1개의 변경된 파일2개의 추가작업 그리고 2개의 파일을 삭제
  1. +2
    -2
      frappe/website/router.py

+ 2
- 2
frappe/website/router.py 파일 보기

@@ -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:


불러오는 중...
취소
저장