You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@felix.apache.org by "Philipp Kursawe (JIRA)" <ji...@apache.org> on 2010/01/30 10:26:34 UTC

[jira] Created: (FELIX-2022) [Branding] webconsole.product.image not treated correctly when referencing http resource

[Branding] webconsole.product.image not treated correctly when referencing http resource
----------------------------------------------------------------------------------------

                 Key: FELIX-2022
                 URL: https://issues.apache.org/jira/browse/FELIX-2022
             Project: Felix
          Issue Type: Bug
          Components: Web Console
    Affects Versions: webconsole-2.0.6
            Reporter: Philipp Kursawe


When setting webconsole.product.image or webconsole.vendor.image to a http URL for an external image the default branding plugin treats the value still as a relative path to its bundle root.

The generated HTML code looks like this
<img src="/system/consolehttp://www.somesite.com/sites/default/files/rec_logo.png>

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


[jira] Assigned: (FELIX-2022) [Branding] webconsole.product.image not treated correctly when referencing http resource

Posted by "Felix Meschberger (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/FELIX-2022?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Felix Meschberger reassigned FELIX-2022:
----------------------------------------

    Assignee: Felix Meschberger

> [Branding] webconsole.product.image not treated correctly when referencing http resource
> ----------------------------------------------------------------------------------------
>
>                 Key: FELIX-2022
>                 URL: https://issues.apache.org/jira/browse/FELIX-2022
>             Project: Felix
>          Issue Type: Bug
>          Components: Web Console
>    Affects Versions: webconsole-2.0.6
>            Reporter: Philipp Kursawe
>            Assignee: Felix Meschberger
>
> When setting webconsole.product.image or webconsole.vendor.image to a http URL for an external image the default branding plugin treats the value still as a relative path to its bundle root.
> The generated HTML code looks like this
> <img src="/system/consolehttp://www.somesite.com/sites/default/files/rec_logo.png>

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


[jira] Resolved: (FELIX-2022) [Branding] webconsole.product.image not treated correctly when referencing http resource

Posted by "Felix Meschberger (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/FELIX-2022?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Felix Meschberger resolved FELIX-2022.
--------------------------------------

       Resolution: Fixed
    Fix Version/s: webconsole-3.0.0

Thanks for reporting this issue. I have fixed it in Rev. 905574 by ensuring not to prefix any branding setting which migh be an absolute URL. Assumption is that an absolute path (leading slash) is to be prefixed and  anything else need not be prefixed.

> [Branding] webconsole.product.image not treated correctly when referencing http resource
> ----------------------------------------------------------------------------------------
>
>                 Key: FELIX-2022
>                 URL: https://issues.apache.org/jira/browse/FELIX-2022
>             Project: Felix
>          Issue Type: Bug
>          Components: Web Console
>    Affects Versions: webconsole-2.0.6
>            Reporter: Philipp Kursawe
>            Assignee: Felix Meschberger
>             Fix For: webconsole-3.0.0
>
>
> When setting webconsole.product.image or webconsole.vendor.image to a http URL for an external image the default branding plugin treats the value still as a relative path to its bundle root.
> The generated HTML code looks like this
> <img src="/system/consolehttp://www.somesite.com/sites/default/files/rec_logo.png>

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


[jira] Closed: (FELIX-2022) [Branding] webconsole.product.image not treated correctly when referencing http resource

Posted by "Carsten Ziegeler (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/FELIX-2022?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Carsten Ziegeler closed FELIX-2022.
-----------------------------------


> [Branding] webconsole.product.image not treated correctly when referencing http resource
> ----------------------------------------------------------------------------------------
>
>                 Key: FELIX-2022
>                 URL: https://issues.apache.org/jira/browse/FELIX-2022
>             Project: Felix
>          Issue Type: Bug
>          Components: Web Console
>    Affects Versions: webconsole-2.0.6
>            Reporter: Philipp Kursawe
>            Assignee: Felix Meschberger
>             Fix For: webconsole-3.0.0
>
>
> When setting webconsole.product.image or webconsole.vendor.image to a http URL for an external image the default branding plugin treats the value still as a relative path to its bundle root.
> The generated HTML code looks like this
> <img src="/system/consolehttp://www.somesite.com/sites/default/files/rec_logo.png>

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.