IBM Support

JR54703: Cannot store an external URL without specifying a protocol (HTTP/HTTPS)

Subscribe

You can track all active APARs for this component.

 

APAR status

  • Closed as program error.

Error description

  • In the ATTRVALDESC table, there is an image1 field where you can
    store images URLS. Customers must prefix image URLs with either
     HTTP or HTTPS to prevent the store path from being added to
    the image URL. Doing so results in issues when SSL is used.
    For example, this method causes mixed content warnings on
    the resulting web pages if you store HTTP URLs in this field,
    but are using SSL. It also causes additional SSL overhead if you
     are storing HTTPS URLs in this field but browsing without SSL.
    

Local fix

Problem summary

  • USERS AFFECTED:
    WebSphere Commerce Version 7 administrators who work with
    WebSphere Commerce search.
    
    PROBLEM ABSTRACT:
    Cannot store an external URL without specifying a protocol
    (HTTP/HTTPS)
    
    BUSINESS IMPACT:
    Customers must add an external prefix such as http or https to
    their image paths to prevent the store prefix from being added
    to the URL.
    
    RECOMMENDATION:
    

Problem conclusion

  • This APAR enables customers to specify a list of URI prefixes to
     be skipped, so that the store path is not added to image
    URLs.
    This can be configured by using the wc-component.xml file within
     the com.ibm.commerce.catalog-ext folder on the Search EAR.
    Add comma separated values to the uriPrefix parameter. For
    example:
    
    <?xml version="1.0" encoding="UTF-8"?>
    
    <_config:DevelopmentComponentConfiguration
    xmlns:xsi = "http://www.w3.org/2001/XMLSchema-instance"
    xsi:schemaLocation =
    "http://www.ibm.com/xmlns/prod/commerce/foundation/config
    ../xsd/wc-component.xsd "
    xmlns:_config =
    "http://www.ibm.com/xmlns/prod/commerce/foundation/config">
    
    
        <_config:extendedconfiguration>
          <_config:configgrouping name="SearchConfiguration">
    
    
               <_config:property name="uriPrefix"
    value="https,http,//"/>
          </_config:configgrouping>
        </_config:extendedconfiguration>
    </_config:DevelopmentComponentConfiguration>
    
    Where the store path is not added to the image path for image
     URLs that start with "https", "http", or "//".
    

Temporary fix

Comments

APAR Information

  • APAR number

    JR54703

  • Reported component name

    WC BUS EDITION

  • Reported component ID

    5724I3800

  • Reported release

    700

  • Status

    CLOSED PER

  • PE

    NoPE

  • HIPER

    NoHIPER

  • Special Attention

    NoSpecatt

  • Submitted date

    2015-11-10

  • Closed date

    2015-12-14

  • Last modified date

    2015-12-21

  • APAR is sysrouted FROM one or more of the following:

  • APAR is sysrouted TO one or more of the following:

Fix information

  • Fixed component name

    WC BUS EDITION

  • Fixed component ID

    5724I3800

Applicable component levels

  • R700 PSY

       UP

[{"Business Unit":{"code":"BU059","label":"IBM Software w\/o TPS"},"Product":{"code":"SSYSYL","label":"WebSphere Commerce Enterprise"},"Platform":[{"code":"PF025","label":"Platform Independent"}],"Version":"7.0","Line of Business":{"code":"LOB31","label":"WCE Watson Marketing and Commerce"}}]

Document Information

Modified date:
11 December 2021