Index: openacs-4/packages/xowiki/tcl/package-procs.tcl =================================================================== RCS file: /usr/local/cvsroot/openacs-4/packages/xowiki/tcl/package-procs.tcl,v diff -u -r1.332.2.82 -r1.332.2.83 --- openacs-4/packages/xowiki/tcl/package-procs.tcl 20 Apr 2021 11:22:07 -0000 1.332.2.82 +++ openacs-4/packages/xowiki/tcl/package-procs.tcl 20 Apr 2021 11:36:53 -0000 1.332.2.83 @@ -2420,12 +2420,17 @@ set title [:get_parameter PackageTitle [:instance_name]] } set description [:get_parameter PackageDescription ""] - - if {![info exists days] - && [regexp {^([0-9]+)d} [:query_parameter rss] _ days] - && $days < 50000 - } { - # setting the variable days + + if {![info exists days]} { + set rss_query_parameter [:query_parameter rss] + if {[regexp {^([0-9]+)d} $rss_query_parameter _ days] + && $days < 50000 + } { + # Variable "days" is set by regexp + } else { + ns_log warning "rss_query_parameter has invalid value '$rss_query_parameter'; fall back to 10d" + set days 10 + } } else { set days 10 }