26 Feb
2002
26 Feb
'02
3:08 a.m.
Paul Rudin <paul.rudin@ntlworld.com> writes:
I'm new to both zope and python, so I hope you'll forgive my ignorance.
I'm writing a simple file upload web page. I've got it working most of the time; however when file names have certain characters in them I get errors like this:
Zope Error Zope has encountered an error while publishing this resource.
Error Type: Bad Request Error Value: The id "[X=X].foo" contains characters illegal in URLs.
On a related note - if you use manage_addFile with a file without supplying an id you get the same error. Shouldn't the code that generates the id from the filename cope with ensuring that you get a valid id?