IBM Support

PK81016: mod_proxy_ftp cannot serve files with wildcards in their names

Subscribe

You can track all active APARs for this component.

 

APAR status

  • Closed as program error.

Error description

  • By default when a filename with wildcards in its name
    ("*?[{~") is requested through mod_proxy_ftp, it provides a
    directory listing the files that match.  This is to allow
    browsing an FTP server via mod_proxy_ftp.
    
    This prevents retrieving files with wildcards in their
    names.
    

Local fix

Problem summary

  • ****************************************************************
    * USERS AFFECTED: IBM HTTP Server users that need to           *
    * retrieve files with wildcards in their names using           *
    * mod_proxy_ftp.                                               *
    ****************************************************************
    * PROBLEM DESCRIPTION: Cannot retrieve files with wildcards    *
    * in their names via mod_proxy_ftp.  A directory listing is    *
    * returned instead.                                            *
    ****************************************************************
    * RECOMMENDATION: Apply this fix if you are using              *
    * mod_proxy_ftp and need to retrieve files with wildcards in   *
    * their names.                                                 *
    ****************************************************************
    Files with wildcards in their names cannot be retrieved
    using mod_proxy_ftp.
    

Problem conclusion

  • Two new directives were added, ProxyFtpListOnWildcard and
    ProxyFtpEscapeWildcards.
    
    The ProxyFtpListOnWildcard directive (default on) controls
    whether wildcard characters ("*?[{~") in requested filenames
    cause mod_proxy_ftp to return a listing of files instead of
    downloading a file.  Set to "off" to allow downloading files
    even if they have wildcard characters in their names.
    
    The ProxyFtpEscapeWildcards directive controls whether
    wildcard characters ("*?[{~") in requested filenames are
    escaped with backslash before sending them to the FTP
    server.  That is the default behavior, but many FTP servers
    don't know about the escaping and try to serve the literal
    filenames they were sent, including the backslashes in the
    names.  Set to "off" to allow downloading files with
    wildcards in their names from FTP servers that don't
    understand wildcard escaping.
    
    This fix is targeted for IHS fixpacks:
     - 6.0.2.35
     - 6.1.0.25
     - 7.0.0.5
    

Temporary fix

Comments

APAR Information

  • APAR number

    PK81016

  • Reported component name

    IBM HTTP SERVER

  • Reported component ID

    5724J0801

  • Reported release

    700

  • Status

    CLOSED PER

  • PE

    NoPE

  • HIPER

    NoHIPER

  • Special Attention

    NoSpecatt / Xsystem

  • Submitted date

    2009-02-19

  • Closed date

    2009-03-17

  • Last modified date

    2009-03-17

  • 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

    IBM HTTP SERVER

  • Fixed component ID

    5724J0801

Applicable component levels

  • R60A PSN

       UP

  • R60H PSN

       UP

  • R60I PSN

       UP

  • R60P PSN

       UP

  • R60S PSN

       UP

  • R60W PSN

       UP

  • R61A PSN

       UP

  • R61H PSN

       UP

  • R61I PSN

       UP

  • R61P PSN

       UP

  • R61S PSN

       UP

  • R61W PSN

       UP

  • R61Z PSN

       UP

  • R700 PSN

       UP

[{"Line of Business":{"code":"LOB45","label":"Automation"},"Business Unit":{"code":"BU059","label":"IBM Software w\/o TPS"},"Product":{"code":"SSEQTJ","label":"IBM HTTP Server"},"Platform":[{"code":"PF025","label":"Platform Independent"}],"Version":"7.0"}]

Document Information

Modified date:
07 September 2022