httpd-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Jim Jagielski <...@jaguNET.com>
Subject Re: construct_url hardcoding "http" [was: solution to 'mod_rewrite.c wierdness' => mod_dir.c]
Date Thu, 22 Jan 1998 12:51:44 GMT
Michael Douglass wrote:
> 
> On Wed, Jan 21, 1998 at 11:06:53PM -0600, Michael Douglass said:
> 
> > ! char *construct_url(pool *p, const char *uri, const request_rec *r) {
> >       return pstrcat (p, "http://",
> > !                   construct_server(p, r->hostname ? r->hostname :
> > !                                      r->server->server_hostname,
> > !                                      r->server->port),
> >                     uri, NULL);
> >   }
> 
> Oh, and I meant to raise a question about the way construct_url hardcoded
> http:// into the string.  I've noted throughtout the source in other
> locations that this piece is #ifdef(ed) for SSL use, etc.  Should it not
> be the case here?
> 

The "official" Apache source has to be stupidly safe about the US's
export control laws wrt SSL and encryption :/

-- 
====================================================================
      Jim Jagielski            |       jaguNET Access Services
     jim@jaguNET.com           |       http://www.jaguNET.com/
            "Look at me! I'm wearing a cardboard belt!"

Mime
View raw message