[pLog-svn] r2434 - plog/branches/plog-1.0.2/class/net/http

Mark Wu markplace at gmail.com
Fri Sep 2 02:02:51 GMT 2005


Mmm.... I never meet this siutation ...

I have no idea this is the same bug as I reported long time ago about image
download error ...?? But we identify that is IE's bug ... 

After I enable resource_http_cache, then , everything goes fine.

Mark 

> -----Original Message-----
> From: plog-svn-bounces at devel.plogworld.net 
> [mailto:plog-svn-bounces at devel.plogworld.net] On Behalf Of 
> Oscar Renalias
> Sent: Friday, September 02, 2005 5:58 AM
> To: plog-svn at devel.plogworld.net
> Subject: Re: [pLog-svn] r2434 - 
> plog/branches/plog-1.0.2/class/net/http
> 
> hmm... Am I the only one to whom this doesn't work? I keep 
> getting "error access forbidden" every time I try to submit 
> the form for a new post. Reverting to the previous revision 
> of this file solves the problem.
> 
> Oscar
> 
> On 2 Sep 2005, at 00:20, oscar at devel.plogworld.net wrote:
> 
> > Author: oscar
> > Date: 2005-09-01 21:20:36 +0000 (Thu, 01 Sep 2005)
> > New Revision: 2434
> >
> > Modified:
> >    plog/branches/plog-1.0.2/class/net/http/httpvars.class.php
> > Log:
> > implemented the fix described here: http://bugs.plogworld.net/ 
> > view.php?id=676
> >
> >
> > Modified: plog/branches/plog-1.0.2/class/net/http/httpvars.class.php
> > ===================================================================
> > --- plog/branches/plog-1.0.2/class/net/http/httpvars.class.php     
> > 2005-09-01 20:37:54 UTC (rev 2433)
> > +++ plog/branches/plog-1.0.2/class/net/http/httpvars.class.php     
> > 2005-09-01 21:20:36 UTC (rev 2434)
> > @@ -272,10 +272,16 @@
> >              } else {
> >                  $protocol = 'https://';
> >              }
> > -            $host      = $serverVars["HTTP_HOST"];
> > +            //$host      = $serverVars["HTTP_HOST"];
> > +            $host = $serverVars["SERVER_NAME"];
> >              $scriptUrl = $serverVars["PHP_SELF"];
> > -
> > -            return $protocol . $host . $scriptUrl;
> > +            $port = $serverVars["SERVER_PORT"];
> > +            if( $port == 80 || $post == 443 )
> > +                $baseUrl = $protocol . $host . $scriptUrl;
> > +            else
> > +                $baseUrl = $protocol . $host . ":" . $port .  
> > $scriptUrl;
> > +
> > +            return( $baseUrl );
> >          }
> >      }
> >  ?>
> >
> > _______________________________________________
> > pLog-svn mailing list
> > pLog-svn at devel.plogworld.net
> > http://devel.plogworld.net/mailman/listinfo/plog-svn
> >
> >
> 
> _______________________________________________
> pLog-svn mailing list
> pLog-svn at devel.plogworld.net
> http://devel.plogworld.net/mailman/listinfo/plog-svn




More information about the pLog-svn mailing list