Bug 19299

Summary: awstats displaying "Unescaped left brace" message on launch
Product: Mageia Reporter: William Kenney <wilcal.int>
Component: RPM PackagesAssignee: Shlomi Fish <shlomif>
Status: RESOLVED FIXED QA Contact:
Severity: normal    
Priority: Normal CC: marja11
Version: Cauldron   
Target Milestone: ---   
Hardware: All   
OS: Linux   
Whiteboard:
Source RPM: awstats CVE:
Status comment:

Description William Kenney 2016-09-06 19:50:05 CEST
Description of problem:

launching awstats from a root terminal results in the following messages:

root@localhost cron.daily]# ./awstats
Unescaped left brace in regex is deprecated, passed through in regex; marked by <-- HERE in m/\"%{ <-- HERE Referer}i\"/ at /usr/share/awstats/www/awstats.pl line 9043.
Unescaped left brace in regex is deprecated, passed through in regex; marked by <-- HERE in m/\"%{ <-- HERE User-Agent}i\"/ at /usr/share/awstats/www/awstats.pl line 9044.
Unescaped left brace in regex is deprecated, passed through in regex; marked by <-- HERE in m/%{ <-- HERE mod_gzip_input_size}n/ at /usr/share/awstats/www/awstats.pl line 9045.
Unescaped left brace in regex is deprecated, passed through in regex; marked by <-- HERE in m/%{ <-- HERE mod_gzip_output_size}n/ at /usr/share/awstats/www/awstats.pl line 9046.
Unescaped left brace in regex is deprecated, passed through in regex; marked by <-- HERE in m/%{ <-- HERE mod_gzip_compression_ratio}n/ at /usr/share/awstats/www/awstats.pl line 9047.
Unescaped left brace in regex is deprecated, passed through in regex; marked by <-- HERE in m/\(%{ <-- HERE ratio}n\)/ at /usr/share/awstats/www/awstats.pl line 9048.

I don't know if this is good or bad, I've just not seen it before.
Awstats summary display in a browser seems to be ok and follows traffic.
Comment 1 Marja Van Waes 2016-09-06 20:56:47 CEST
Assigning to maintainer

CC: (none) => marja11
Assignee: bugsquad => shlomif

Comment 2 Shlomi Fish 2016-09-06 21:52:45 CEST
Hi William,

thanks for the report.

(In reply to William Kenney from comment #0)
> Description of problem:
> 
> launching awstats from a root terminal results in the following messages:
> 
> root@localhost cron.daily]# ./awstats
> Unescaped left brace in regex is deprecated, passed through in regex; marked
> by <-- HERE in m/\"%{ <-- HERE Referer}i\"/ at
> /usr/share/awstats/www/awstats.pl line 9043.

these warnings were introduced in recent perls and version 7.5 of awstats - now in the svn repository - fixes them.

I'll file a freeze push.

Status: NEW => ASSIGNED

Comment 3 William Kenney 2016-12-21 19:46:35 CET
This is good to go now.

Status: ASSIGNED => RESOLVED
Resolution: (none) => FIXED