Explorar o código

* Pass PATHINFO to request, full URL

git-svn-id: trunk@17646 -
michael %!s(int64=14) %!d(string=hai) anos
pai
achega
de1eb11025
Modificáronse 1 ficheiros con 1 adicións e 0 borrados
  1. 1 0
      packages/fcl-web/src/base/fphttpserver.pp

+ 1 - 0
packages/fcl-web/src/base/fphttpserver.pp

@@ -368,6 +368,7 @@ Var
 begin
   Request.Method:=GetNextWord(AStartLine);
   Request.URL:=GetNextWord(AStartLine);
+  Request.PathInfo:=Request.URL;
   S:=GetNextWord(AStartLine);
   If (Pos('HTTP/',S)<>1) then
     Raise Exception.Create(SErrMissingProtocol);