I can not reproduce the problem you are describing using the latest RTC SDK version (6.48). Looking at the code and testing with Delphi 7 (oldest version supported) as well as Delphi XE7 (latest version supported), everything works as expected and I see no reason how this could be happening, when the Client is sending the correct request. As far as I ca see, there are no bugs in RTC code responsible for parsing the URL and Google Chrome is not messing anything up, so ... the problem must be somewhere else.
When I enter the URL
http://localhost/searchdownload/Files%20for%20Me.zip in Google Chrome, I get the following results ...
If FixupRequest.DecodeFileName =
FALSE:
Request.FileName = '/searchdownload/Files%20for%20Me.zip'
Request.FilePath[0] = 'searchdownload'
Request.FilePath[1] = 'Files%20for%20Me.zip'
And if FixupRequest.DecodeFileName =
TRUE:
Request.FileName = '/searchdownload/Files for Me.zip'
Request.FilePath[0] = 'searchdownload'
Request.FilePath[1] = 'Files for Me.zip'
Are you 100% sure you have analyzed the problem correctly? Did you run tests with a simple Server using only one TRtcHttpServer and one TRtcDataProvider component to see what happens, or are you making assumptions based on the results you get in a more complex Project? Please, open the example Project in the QuickStart\ServerLesson1 folder and modify the RtcDataProvider1CheckRequest event to use this code ...
with Sender as TRtcDataServer do
ShowMessage(Request.FilePath[1]);
... then run the Project, enter the URL
http://localhost/searchdownload/Files%20for%20Me.zip in Google Chrome and tell me what you see in the ShowMessage dialog box. It should be "Files for Me.zip", because the FixupRequest.DecodeFileName property on the RtcHttpServer1 component defaults to TRUE in that example. And if you change the FixupRequest.DecodeFileName property to FALSE and restart the Project, you should see "Files%20for%20Me.zip" instead when the same request is sent from Google Chrome.
Also ... please, let me know which Delphi version you are using and what is your target platform.
Best Regards,
Danijel TKalcec