Bug with filemanager 1.1.1 and featured item slider 2.0

Topics: Customizing Orchard
May 14, 2013 at 6:48 PM
Hello, I'm having problem using this module in 1.6.1 when i download and enabile filemanager 1.1.1. It appears that when I try to create a new FeaturedItem I get an error "A potentially dangerous Request.Path value was detected from the client (&)". This appears to occur because the action from the browse click infact changes. When filemanager is enabled the link is 'http://orch1.rezsolutions.ca/Admin/FileManager/MediaPicker&callback=_pickimage_1368553399271', but when you disable filemanager the link is 'http://orch1.rezsolutions.ca/Admin/MediaPicker?uploadpath=images&callback=_pickimage_1368553479310&editmode=false&1368553479310'. So I can work with this module as long as I disable the filemanager. When I'm done re-enable this.
Coordinator
May 26, 2013 at 9:02 AM
You should report this to the authors of those modules.
Nov 3, 2013 at 12:10 PM
Hi I met the same problem and I fixed it.

That is because of the MediaPicker.js file in the FileManager module has a bug.

var url = location.href.substr(0, adminIndex)
        + "/Admin/FileManager/MediaPicker"
        + "&callback=" + callbackName;
shoud be replaced by following code.

var url = location.href.substr(0, adminIndex)
        + "/Admin/FileManager/MediaPicker"
        + "?callback=" + callbackName;
Hope this could help you~