HEX
Server: LiteSpeed
System: Linux standart9.isimtescil.net 3.10.0-962.3.2.lve1.5.26.7.el7.x86_64 #1 SMP Wed Oct 2 07:53:12 EDT 2019 x86_64
User: karalev (5310)
PHP: 8.2.29
Disabled: NONE
Upload Files
File: //proc/self/root/usr/lib64/python2.7/site-packages/simplejson/tests/test_encode_for_html.pyo
�
���Sc@s5ddlZddlZdejfd��YZdS(i����NtTestEncodeForHTMLcBs,eZd�Zd�Zd�Zd�ZRS(cCs"tj�|_tj�|_dS(N(tjsontJSONDecodertdecodertJSONEncoderForHTMLtencoder(tself((sK/usr/lib64/python2.7/site-packages/simplejson/tests/test_encode_for_html.pytsetUpscCsX|jd|jjd��|jd|jjd��|jd|jjd��dS(Ns"\u0026"t&s"\u003c"t<s"\u003e"t>(tassertEqualRtencode(R((sK/usr/lib64/python2.7/site-packages/simplejson/tests/test_encode_for_html.pyttest_basic_encodescCs=x6dD].}|j||jj|jj|���qWdS(Ns&<>(RRtdecodeRR(Rtchar((sK/usr/lib64/python2.7/site-packages/simplejson/tests/test_encode_for_html.pyttest_basic_roundtrips
cCsNd}|jd|jj|��|j||jj|jj|���dS(Ns)</script><script>alert("gotcha")</script>sK"\u003c/script\u003e\u003cscript\u003ealert(\"gotcha\")\u003c/script\u003e"(RRRRR(Rt
bad_string((sK/usr/lib64/python2.7/site-packages/simplejson/tests/test_encode_for_html.pyttest_prevent_script_breakouts(t__name__t
__module__RR
RR(((sK/usr/lib64/python2.7/site-packages/simplejson/tests/test_encode_for_html.pyRs			(tunittestt
simplejsonRtTestCaseR(((sK/usr/lib64/python2.7/site-packages/simplejson/tests/test_encode_for_html.pyt<module>s