Skip Menu |

This queue is for tickets about the Data-FormValidator CPAN distribution.

Maintainer(s)' notes

This is the bug queue for Data::FormValidator.

Report information
The Basics
Id: 12744
Status: resolved
Priority: 0/
Queue: Data-FormValidator

People
Owner: MARKSTOS [...] cpan.org
Requestors: merlyn [...] stonehenge.com
Cc:
AdminCc:

Bug Information
Severity: Normal
Broken in: 3.63
Fixed in: (no value)



Subject: Upload using wrong mime type
So close, and yet so far away in Data::FormValidator::Constraints::Upload. I've edited the last few lines of my copy of valid_file_format to read: ## and here's the fix (why use the broken MIME type when we know correct?) ## $info = { %$info, mime_type => $uploaded_mt, extension => ".$ext" }; $info = { %$info, mime_type => $mt, extension => ".$ext" };
[MERLYN - Tue May 10 10:36:18 2005]: Show quoted text
> So close, and yet so far away in > Data::FormValidator::Constraints::Upload. I've edited the last few > lines of my copy of valid_file_format to read: > > ## and here's the fix (why use the broken MIME type when we know > correct?) > ## $info = { %$info, mime_type => $uploaded_mt, extension => > ".$ext" }; > $info = { %$info, mime_type => $mt, extension => ".$ext" };
This has been fixed and will appear in the next release with credit to you. Thanks for the report Randal. See you at YAPC::NA! Stalled pending release. Mark