MiniVend Akopia Services

[Date Prev][Date Next][Thread Prev][Thread Next][Minivend by date ][Minivend by thread ]

Re: [mv] MiniMate upload problem



"Stan Crump" <stanc@amintech.com> writes:

> Running: Minivend 3.11, Perl 5.004_04, RedHatLinux 5.1
> 
> I've scoured the Minivend archives & am still at a total loss for a solution
> for the following...
> 
> I just installed MiniMate and can successfully modify any of the various
> database files...  When I try to upload, download, or view existing (or new)
> pages using MiniMate, however, Minivend loads the special page,
> "interact.html" with the following error message:
> =======================
> Something has gone wrong, and we did not receive the response we expected
> from your browser. There was the following problem: Content type
> 'multipart/form-data; boundary=---------------------------209694619500' for
> form submission is not application/x-www-form-urlencoded 
> =======================

Try if this patch to MiniVend solves your problem. This patch fixes a bug
with multipart headers and has been integrated into 3.14.

*** minivend	1999/04/07 08:46:53	1.2
--- minivend	1999/06/04 06:45:35
***************
*** 2685,2691 ****
  
  	DOMULTI: {
  		for (@parts) {	
! 			last if ! $_ || $_ eq '--';
  			s/^\s+//;
  			my($header, $data) = split /\r?\n\r?\n/, $_, 2;
  			my $token = '[-\w!\#$%&\'*+.^_\`|{}~]';
--- 2685,2691 ----
  
  	DOMULTI: {
  		for (@parts) {	
! 			last if ! $_ || ($_ =~ /^--(\r?\n)?$/);
  			s/^\s+//;
   			my($header, $data) = split /\r?\n\r?\n/, $_, 2;
   			my $token = '[-\w!\#$%&\'*+.^_\`|{}~]';
 
Ciao
        Racke

-- 
LinuXia - Solutions of Cool Competence - Internetprogramming and more
D-30163 Hannover, Waldstraße 4, 0511-3941290 (http://www.linuxia.net/)
Wir realisieren Onlineshops mit Minivend (http://www.minivend.com)
und MiniMate (http://www.linuxia.net/minimate/).


Search for: Match: Format: Sort by: