Hallo zusammen,
momentan läuft unser OTRS unter einer relativ alten Version unter Windows. Ich möchte testweise auf Debian migrieren, bekomme allerdings mit dem Syntaxcheck Probleme. Version ist 3.1.11.
Ist das hier relevant? Und falls ja, wie kann ich das beseitigen?
Grüße und danke
Tobias
[Mon Jul 6 08:10:33 2015] VariableCheck.pm: Useless use of '\'; doesn't escape metacharacter '{' at /opt/otrs/bin/cgi-bin/../../Kernel/System/VariableCheck.pm line 290.
[Mon Jul 6 08:10:33 2015] HTMLUtils.pm: In '(?...)', splitting the initial '(?' is deprecated in regex; marked by <-- HERE in m/
[Mon Jul 6 08:10:33 2015] HTMLUtils.pm: ( # $1 greater-than and less-than sign
[Mon Jul 6 08:10:33 2015] HTMLUtils.pm: > | < | \s+ | \#{6} |
[Mon Jul 6 08:10:33 2015] HTMLUtils.pm: (?: &[a-zA-Z0-9]+; ) # get html entities
[Mon Jul 6 08:10:33 2015] HTMLUtils.pm: )
[Mon Jul 6 08:10:33 2015] HTMLUtils.pm: ( # $2
[Mon Jul 6 08:10:33 2015] HTMLUtils.pm: (?: # http or only www
[Mon Jul 6 08:10:33 2015] HTMLUtils.pm: (?: (?: http s? | ftp ) :\/\/) | # http://,https:// and ftp://
[Mon Jul 6 08:10:33 2015] HTMLUtils.pm: (?: (?: www | ftp ) \.) # www. and ftp.
[Mon Jul 6 08:10:33 2015] HTMLUtils.pm: )
[Mon Jul 6 08:10:33 2015] HTMLUtils.pm: )
[Mon Jul 6 08:10:33 2015] HTMLUtils.pm: ( # $3
[Mon Jul 6 08:10:33 2015] HTMLUtils.pm: (?: [a-z0-9\-]+ \. )* # get subdomains, optional
[Mon Jul 6 08:10:33 2015] HTMLUtils.pm: [a-z0-9\-]+ # get top level domain
[Mon Jul 6 08:10:33 2015] HTMLUtils.pm: (?: # file path element
[Mon Jul 6 08:10:33 2015] HTMLUtils.pm: [\/\.]
[Mon Jul 6 08:10:33 2015] HTMLUtils.pm: | [a-zA-Z0-9\-]
[Mon Jul 6 08:10:33 2015] HTMLUtils.pm: )*
[Mon Jul 6 08:10:33 2015] HTMLUtils.pm: (?: # param string
[Mon Jul 6 08:10:33 2015] HTMLUtils.pm: [\?] # if param string is there, "?" must be present
[Mon Jul 6 08:10:33 2015] HTMLUtils.pm: [a-zA-Z0-9&;=%]* # param string content, this will also catch entities like &
[Mon Jul 6 08:10:33 2015] HTMLUtils.pm: )?
[Mon Jul 6 08:10:33 2015] HTMLUtils.pm: (?: # link hash string
[Mon Jul 6 08:10:33 2015] HTMLUtils.pm: [\#] #
[Mon Jul 6 08:10:33 2015] HTMLUtils.pm: [a-zA-Z0-9&;=%]* # hash string content, this will also catch entities like &
[Mon Jul 6 08:10:33 2015] HTMLUtils.pm: )?
[Mon Jul 6 08:10:33 2015] HTMLUtils.pm: )
[Mon Jul 6 08:10:33 2015] HTMLUtils.pm: ( # $4
[Mon Jul 6 08:10:33 2015] HTMLUtils.pm: ? <-- HERE =(?:
[Mon Jul 6 08:10:33 2015] HTMLUtils.pm: [\?,;!\.\)] (?: \s | $ ) # \)\s this construct is because of bug# 2450
[Mon Jul 6 08:10:33 2015] HTMLUtils.pm: | \"
[Mon Jul 6 08:10:33 2015] HTMLUtils.pm: | \]
[Mon Jul 6 08:10:33 2015] HTMLUtils.pm: | \s+
[Mon Jul 6 08:10:33 2015] HTMLUtils.pm: | '
[Mon Jul 6 08:10:33 2015] HTMLUtils.pm: | > # greater-than and less-than sign
[Mon Jul 6 08:10:33 2015] HTMLUtils.pm: | < # "
[Mon Jul 6 08:10:33 2015] HTMLUtils.pm: | (?: &[a-zA-Z0-9]+; )+ # html entities
[Mon Jul 6 08:10:33 2015] HTMLUtils.pm: | $ # bug# 2715
[Mon Jul 6 08:10:33 2015] HTMLUtils.pm: )
[Mon Jul 6 08:10:33 2015] HTMLUtils.pm: | \#{6} # ending LinkHash
[Mon Jul 6 08:10:33 2015] HTMLUtils.pm: )
[Mon Jul 6 08:10:33 2015] HTMLUtils.pm: / at /opt/otrs/bin/cgi-bin/../../Kernel/System/HTMLUtils.pm line 857.
bin/cgi-bin/index.pl syntax OK
Problem mit perl -cw /bin/cgi-bin/index.pl
-
- Znuny newbie
- Posts: 40
- Joined: 18 May 2012, 14:59
- Znuny Version: 5.0.16
- Real Name: Tobias Frei
Problem mit perl -cw /bin/cgi-bin/index.pl
Productive: OTRS 3.1.11, MySQL Windows Server 2008 bzw. OTRS 3.3, MySQL, Windows Server 2008
-
- Znuny guru
- Posts: 5018
- Joined: 13 Mar 2011, 09:54
- Znuny Version: 6.0.x
- Real Name: Renée Bäcker
- Company: Perl-Services.de
- Contact:
Re: Problem mit perl -cw /bin/cgi-bin/index.pl
Unter "neueren" Perls (schon seit ein paar Jahren) gibt es diese Warnung...
Bei https://github.com/OTRS/otrs/blob/rel-3 ... ls.pm#L811 einfach aus
machen...
Bei https://github.com/OTRS/otrs/blob/rel-3 ... ls.pm#L811 einfach aus
Code: Select all
( # $4
?=(?:
Code: Select all
(?=(?:
Perl / Znuny development: http://perl-services.de
Free Znuny add ons from the community: http://opar.perl-services.de
Commercial add ons: http://feature-addons.de
Free Znuny add ons from the community: http://opar.perl-services.de
Commercial add ons: http://feature-addons.de
-
- Znuny newbie
- Posts: 40
- Joined: 18 May 2012, 14:59
- Znuny Version: 5.0.16
- Real Name: Tobias Frei
Re: Problem mit perl -cw /bin/cgi-bin/index.pl
Danke sehr!!
Productive: OTRS 3.1.11, MySQL Windows Server 2008 bzw. OTRS 3.3, MySQL, Windows Server 2008