Changeset 9dc0288 in trunk
- Timestamp:
- 2020-08-28T01:52:48Z (5 years ago)
- Branches:
- master
- Children:
- d104303
- Parents:
- 894195d
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
TabularUnified src/allmydata/test/web/test_web.py ¶
r894195d r9dc0288 1 1 from __future__ import print_function 2 2 3 import os.path, re, urllib, time , cgi3 import os.path, re, urllib, time 4 4 import json 5 5 import treq … … 366 366 self._htmlname_urlencoded = urllib.quote(self._htmlname_raw, '') 367 367 self._htmlname_escaped = html.escape(self._htmlname_raw) 368 self._htmlname_escaped_attr = cgi.escape(self._htmlname_raw, quote=True)368 self._htmlname_escaped_attr = html.escape(self._htmlname_raw, quote=True) 369 369 self._htmlname_escaped_double = html.escape(html.escape(self._htmlname_raw, quote=True)) 370 370 self.HTMLNAME_CONTENTS, n, self._htmlname_txt_uri = self.makefile(0)
Note: See TracChangeset
for help on using the changeset viewer.