rejetto forum

Need help with HFS and Web Server

CeltiX · 19 · 14274

0 Members and 1 Guest are viewing this topic.

Offline CeltiX

  • Occasional poster
  • *
    • Posts: 17
    • View Profile
Wow, that's about as comprehensive as I could think of. I'm glad i'm not the only one stumped by this problem!


Offline ~GeeS~

  • Tireless poster
  • ****
    • Posts: 269
  • "The web was made for sharing..."
    • View Profile
This bothered me since a long time. Your questions just triggered the search for the problem.

In the source from HFS2.0a in hslib.pas line 1064:
Quote
HRM_REDIRECT, HRM_MOVED:
    begin
    s:=reply.url;
    if pos('://', s) = 0 then
      with request do
        s:='http://'
          +ifThen(user>'', user+ifThen(pwd>'',':'+pwd)+'@')
          +getHeader('Host')+s;
    sendHeader(replyheader_mode(reply.mode)+'Location: '+s );
    end;
'Host' obviously misses the port information.
« Last Edit: September 01, 2006, 06:14:47 PM by ~GeeS~ »
~GeeS~


Offline rejetto

  • Administrator
  • Tireless poster
  • *****
    • Posts: 13523
    • View Profile

Offline ~GeeS~

  • Tireless poster
  • ****
    • Posts: 269
  • "The web was made for sharing..."
    • View Profile
Great! Thx. Wil check tommorow... to much vino tonite  :)
~GeeS~