Ver código fonte

* Pass PATHINFO to request, full URL

git-svn-id: trunk@17646 -
michael 14 anos atrás
pai
commit
de1eb11025
1 arquivos alterados com 1 adições e 0 exclusões
  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);