View Issue Details

IDProjectCategoryView StatusLast Update
0020106mantisbtplug-inspublic2019-09-06 03:37
Reporterbkraul Assigned To 
Status newResolutionopen 
Product Version1.3.0-beta.3 
Summary0020106: .htaccess / Web.config in plugins directory prevents use of plugin assets

Added to the complication of plugin_file() totally disconnecting plugin client scripts from their local assets, the .htaccess (when enforced by the server), prevents any use of images that accompany the plugin.

If the only way to access plugin client files will be through the plugin_file() function, we need a way to access local assets.

Right now the only workaround (if we are going to be using plugin_file() as the preferred method is to:

-Remove the .htaccess file
-Hardcode the path to the local assets in CSS and the sort. (ie. url(plugins/myplugin/files/myimage.png).

-Base64-encode graphic resources in the CSS so that no images are referenced. Basically nonpractical, considering a plugin could reference a component like markitup or any other jquery component that extensively uses local assets.

TagsNo tags attached.


related to 0020789 closeddregad plugin files can be accessed directly 


There are no notes attached to this issue.