View Issue Details

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

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).

or:
-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.

Relationships

related to 0020789 closeddregad plugin files can be accessed directly 

Activities

There are no notes attached to this issue.

Issue History

Date Modified Username Field Change
2015-09-11 15:29 bkraul New Issue
2019-09-06 03:37 dregad Relationship added related to 0020789