Akopia Akopia Services

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

[mv] Building static pages with MV4.03!



******    message to minivend-users from jojo@buchonline.net     ******

Hi list,

if some pages is marked secure, i noticed a wrong URL to the right
secure page like

https://www.buchonline.org/cgi-bin/bol/ord/infobasket.html?=secure%3d1

and visit this URL result 

Internal Server Error blah blah blah 

and the error.log say

192.168.1.10 - - [31/März/2000:13:41:52 +0200] - /cgi-bin/bol/ord/infobasket.html Runtime error: Syntax error in post input:
> =secure%3d1

because the right URL is

https://www.buchonline.org/cgi-bin/bol/ord/infobasket.html?mv_arg=secure%3d1

Looking into Util.pm, it seems to me, something is wrong with

push @parms, "mv_arg=" . hexify($arguments)	if defined $arguments;

I try to get this working and i´ve change this codes to

--- Util.pm.orig	Sat Mar 18 17:04:49 2000
+++ Util.pm	Fri Mar 31 14:27:28 2000
@@ -854,9 +854,15 @@
 		unless $::Scratch->{mv_no_count};
 
     $r .= '/' . $path;
-	$r .= '.html' if $::Scratch->{mv_add_dot_html};
+
+    if ($r =~ /\.html/) 
+      {} else {$r .= '.html' if $::Scratch->{mv_add_dot_html};}
+
 	push @parms, "$::VN->{mv_session_id}=$id"			 	if defined $id;
-	push @parms, "$::VN->{mv_arg}=" . hexify($arguments)	if defined $arguments;
+    if($::VN->{mv_arg})
+       {push @parms, "$::VN->{mv_arg}=" . hexify($arguments)	if defined $arguments;} 
+       else
+       {push @parms, "mv_arg=" . hexify($arguments)	if defined $arguments;}
 	push @parms, "$::VN->{mv_pc}=$ct"                 	if defined $ct;
 	push @parms, "$::VN->{mv_cat}=$Vend::Cfg->{CatalogName}"

Any comments?

Regards,

	Joachim


-- 
Hans-Joachim Leidinger
buch online                 jojo@buchonline.net
Munscheidstr. 14            FAX: +49 209 1971449
45886 Gelsenkirchen         FAX: 0209 1671449

-
To unsubscribe from the list, DO NOT REPLY to this message.  Instead, send
email with 'UNSUBSCRIBE minivend-users' in the body to Majordomo@minivend.com.
Archive of past messages: http://www.minivend.com/minivend/minivend-list


Search for: Match: Format: Sort by: