Ticket #6955: rng-validator-unicode.diff
File rng-validator-unicode.diff, 545 bytes (added by , 17 years ago) |
---|
-
django/core/validators.py
554 554 } 555 555 filename = tempfile.mktemp() # Insecure, but nothing else worked 556 556 fp = open(filename, 'w') 557 fp.write( field_data)557 fp.write(smart_str(field_data)) 558 558 fp.close() 559 559 if not os.path.exists(settings.JING_PATH): 560 560 raise Exception, "%s not found!" % settings.JING_PATH