-
-
Notifications
You must be signed in to change notification settings - Fork 369
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Update MVCFramework.Router.pas (#543)
- Loading branch information
1 parent
6a1104c
commit ec075cd
Showing
1 changed file
with
2 additions
and
2 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -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]) | ||
// | ||
// *************************************************************************** | ||
// | ||
|
@@ -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 | ||
|