Download & Extend

Make base_root replacement in swftools_strip_base_root() configurable

Project:SWF Tools
Version:6.x-2.5
Component:Code
Category:feature request
Priority:normal
Assigned:Unassigned
Status:needs review

Issue Summary

In swftools version 6.x-2.5, in swftools_strip_base_root(), the base_root stripping is temporarily disabled as it may cause issues.
We use a load-balanced 2 machine drupal installation, so for the user the drupal website is available under the domain www.example.com. The load-balanced machines are available under www1.example.com and www2.example.com, but this is invisible for the user, who is only accessing www.example.com.

With the temporarily disabled replacement of the base_root, the swf-file is referenced absolute, resulting that the page the user sees on www.example.com includes the swf-file from www1.example.com.

Could you make the base_root replacement configurable in the swftools settings? As we load all swf-files from our own host, we have no issues with the base_root replacement active.

Comments

#1

If I'm right this is fixed in the DRUPAL-6--3 / HEAD branches. We no longer use a stripping function, but just create relative urls from the outset. Setting to "needs review" as I think this will be ok, and I'm using that status to track the items that will close in the new release.

#2

Status:active» needs review

I forgot to set to "needs review"!

nobody click here