https://bz.apache.org/SpamAssassin/show_bug.cgi?id=8413

            Bug ID: 8413
           Summary: url_shortener_cache_type warnings in
                    Mail::SpamAssassin::Plugins::Redirectors
           Product: Spamassassin
           Version: 4.0.3
          Hardware: PC
                OS: Linux
            Status: NEW
          Severity: normal
          Priority: P2
         Component: Plugins
          Assignee: [email protected]
          Reporter: [email protected]
  Target Milestone: Undefined

Created attachment 6077
  --> https://bz.apache.org/SpamAssassin/attachment.cgi?id=6077&action=edit
cross_user_config_leak.t warn

Running t/cross_user_config_leak.t prints warnings such as:
undef config type for url_redirector_custom_user_agent at
t/cross_user_config_leak.t line 126.
undef config type for url_shortener_custom_user_agent at
t/cross_user_config_leak.t line 126.
undef config type for url_shortener_cache_type at t/cross_user_config_leak.t
line 126.
undef config type for url_shortener_cache_dsn at t/cross_user_config_leak.t
line 126.
undef config type for url_shortener_cache_username at
t/cross_user_config_leak.t line 126.
undef config type for url_shortener_cache_password at
t/cross_user_config_leak.t line 126.
t/cross_user_config_leak.t ........ ok

The attached patch adds default types and silence the warnings.

-- 
You are receiving this mail because:
You are the assignee for the bug.

Reply via email to