This is a migrated thread and some comments may be shown as answers.

AutoResponder rewrites URLs instead of returning file contents

3 Answers 47 Views
Fiddler Classic
This is a migrated thread and some comments may be shown as answers.
Ilya
Top achievements
Rank 1
Ilya asked on 25 Dec 2014, 09:23 AM
Rule Config

regex:(?insx)\/0Pl5sssO4/.+\.js$ #Versafe.js
C:\Users\chernyakov\Desktop\versafe\static.js

I would expect Autoresponder to respond with file contents. Instead, it rewrites my request 



GET http://xx.xx.43.176C:\Users\chernyakov\Desktop\script\static.js/ HTTP/1.1
Host: Xx.xx.43.176C:\Users\chernyakov\Desktop\script\static.js
Proxy-Connection: keep-alive
Pragma: no-cache
Cache-Control: no-cache
Accept: */*

3 Answers, 1 is accepted

Sort by
0
Eric Lawrence
Telerik team
answered on 26 Dec 2014, 08:11 PM
Your regular expression isn't complete; update it to match the entire string, as follows:

 regex:(?insx)^.*\/0Pl5sssO4/.+\.js$ #Versafe.js
C:\Users\chernyakov\Desktop\versafe\static.js

Regards,
Eric Lawrence
Telerik
 

Check out the Telerik Platform - the only platform that combines a rich set of UI tools with powerful cloud services to develop web, hybrid and native mobile apps.

 
0
Ilya
Top achievements
Rank 1
answered on 06 Jan 2015, 10:55 AM
I have noticesd, thanks, but that is not the issue, right ? 
0
Eric Lawrence
Telerik team
answered on 06 Jan 2015, 02:50 PM
If you fail to specify a regular expression that completely encapsulates the URL, you will encounter the behavior you describe.

Regards,
Eric Lawrence
Telerik
 

Check out the Telerik Platform - the only platform that combines a rich set of UI tools with powerful cloud services to develop web, hybrid and native mobile apps.

 
Tags
Fiddler Classic
Asked by
Ilya
Top achievements
Rank 1
Answers by
Eric Lawrence
Telerik team
Ilya
Top achievements
Rank 1
Share this question
or