Closed txdv closed 13 years ago
Can't reproduce with latest master, and with latest working master before that. Can you add more info?
Hmm interesting, ill try to pull. I'm working on top of 3a3370c0865c5617d340f251648c7ef8aadfd638
In the future lets try writing bug reports in a less confrontational manner.
It can be related to https://github.com/jacksonh/manos/issues/109
It doesnt crash on 8ac5718f791b02fd02ccdaf54a567e3175c0324b, but it doesnt match if you do route by attribute to a method that takes 'screenshot' as a byte[] or anything else I can think of.
I believe that uploaded files wont effect routing at all. They just get added to the Request.Files collection. Maybe having them get passed into the method as FileInfo or byte[] is a good idea....
you can't do it as a FileInfo because it may be an InMemoryUploadedFile, but maybe you can do it if the arg is a Manos.Http.UploadedFile
byte[] works too, but it requires you read entire thing into another copy :-(
yeah, we could always do a little magic. Maybe just using UploadedFile is best. It would be a pretty easy hack to add that to the param matching code.
This issue can be closed, it works again.
When file uploading using the following test case:
Manos crashes.