[Affelio-cvs 928] CVS update: affelio/bin

Back to archive index

Tadashi Okoshi slash****@users*****
2005年 12月 19日 (月) 12:50:10 JST


Index: affelio/bin/get_content.cgi
diff -u affelio/bin/get_content.cgi:1.30 affelio/bin/get_content.cgi:1.31
--- affelio/bin/get_content.cgi:1.30	Sun Dec 18 14:26:55 2005
+++ affelio/bin/get_content.cgi	Mon Dec 19 12:50:10 2005
@@ -16,7 +16,7 @@
 # along with this program; if not, write to the Free Software
 # Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA  02111-1307, USA.
 
-# $Id: get_content.cgi,v 1.30 2005/12/18 05:26:55 slash5234 Exp $
+# $Id: get_content.cgi,v 1.31 2005/12/19 03:50:10 slash5234 Exp $
 
 use strict;
 
@@ -113,6 +113,9 @@
     ){
 
     my $referrer = $wi->PTN_URL($q->param("referrer"));
+    if($referrer =~ /(.*)\/$/){
+	$referrer = $1;
+    }
 
     my $passAB = $af->getFM->get_attribute_by_afid($referrer, "password");
     if($passAB eq "" || !defined($passAB)){


Affelio-cvs メーリングリストの案内
Back to archive index