Public bug reported:

> Unescaped left brace in regex is deprecated, passed through in regex; marked 
> by <-- HERE in m/\"%{ <-- HERE Referer}i\"/ at /usr/lib/cgi-bin/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/lib/cgi-bin/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/lib/cgi-bin/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/lib/cgi-bin/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/lib/cgi-bin/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/lib/cgi-bin/awstats.pl line 
> 9048.

Those warnings occur whenever we execute awstats and they can easily be
fixed by escaping the "{" and "}" at the mentioned lines. In fact
awstats 7.5 fixed those lines already itself:

> AWStats Changelog
> -----------------
> 
> ***** 7.5 *****
> 
> - Compatibility with Perl 5.22

Please consider backporting those fixes, because awstats is most likely
executed by cron or such and this produces unnecessary mails with those
warnings. Disabling mails on warnings/errors is of course no solution,
because one would miss real configuration errors or such this way.

** Affects: awstats (Ubuntu)
     Importance: Undecided
         Status: New

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1585121

Title:
  awstats produces regex warnings in version 7.4 with Perl 5.22 on
  Ubuntu 16.04 LTS

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/awstats/+bug/1585121/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to