잉여개발기 (SPDV) 2 лет назад
Родитель
Сommit
ea30021955
2 измененных файлов с 3 добавлено и 3 удалено
  1. 2 2
      route/topic_tool_change.py
  2. 1 1
      version.json

+ 2 - 2
route/topic_tool_change.py

@@ -49,11 +49,11 @@ def topic_tool_change(topic_num = 1):
                     <form method="post">
                         ''' + load_lang('document_name') + '''
                         <hr class="main_hr">
-                        <input value="''' + rd_d[0][0] + '''" name="title" type="text">
+                        <input value="''' + html.escape(rd_d[0][0]) + '''" name="title" type="text">
                         <hr class="main_hr">
                         ''' + load_lang('discussion_name') + '''
                         <hr class="main_hr">
-                        <input value="''' + rd_d[0][1] + '''" name="sub" type="text">
+                        <input value="''' + html.escape(rd_d[0][1]) + '''" name="sub" type="text">
                         <hr class="main_hr">
                         <button type="submit">''' + load_lang('save') + '''</button>
                     </form>

+ 1 - 1
version.json

@@ -1,6 +1,6 @@
 {
     "beta" : {
-        "r_ver" : "v3.4.6-RC5-dev93",
+        "r_ver" : "v3.4.6-RC5-dev93-fix1",
         "c_ver" : "3500374",
         "s_ver" : "3500112"
     }