Skip to content

Commit

Permalink
Update MVCFramework.Router.pas (#543)
Browse files Browse the repository at this point in the history
  • Loading branch information
juliosenha authored Mar 22, 2022
1 parent 6a1104c commit ec075cd
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions sources/MVCFramework.Router.pas
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
//
// https://github.com/danieleteti/delphimvcframework
//
// Collaborators on this file: Ezequiel Juliano Müller ([email protected])
// Collaborators on this file: Ezequiel Juliano Müller ([email protected])
//
// ***************************************************************************
//
Expand Down Expand Up @@ -184,7 +184,7 @@ function TMVCRouter.ExecuteRouting(const ARequestPathInfo: string;
end;
end;
//LRequestPathInfo := TNetEncoding.URL.EncodePath(LRequestPathInfo, [Ord('$')]);
LRequestPathInfo := TIdURI.PathEncode(LRequestPathInfo); //regression introduced in fix for issue 492
LRequestPathInfo := TIdURI.PathEncode(Trim(LRequestPathInfo)); //regression introduced in fix for issue 492

TMonitor.Enter(gLock);
try
Expand Down

0 comments on commit ec075cd

Please sign in to comment.