Hi, the following Via causes a parsing error in sip-router:
Via: SIP/2.0/UDP 1.2.3.4;branch=z9hG4bK1aaaaa;rport;param1 ;param2<CRLF>
It occurs due to the space before ";param2". If param2 has value (param2=abc or param2 = abc) the error also occurs.
According to RFC 3261 BNF the above Via is 100% valid as header parameters separator is SEMI which is defined as:
SEMI = SWS ";" SWS SWS = [LWS] LWS = [*WSP CRLF] 1*WSP WSP = SP | HTAB;
2011/4/19 Iñaki Baz Castillo ibc@aliax.net:
Hi, the following Via causes a parsing error in sip-router:
Via: SIP/2.0/UDP 1.2.3.4;branch=z9hG4bK1aaaaa;rport;param1 ;param2<CRLF>
It occurs due to the space before ";param2". If param2 has value (param2=abc or param2 = abc) the error also occurs.
According to RFC 3261 BNF the above Via is 100% valid as header parameters separator is SEMI which is defined as:
SEMI = SWS ";" SWS SWS = [LWS] LWS = [*WSP CRLF] 1*WSP WSP = SP | HTAB;
I've reported the error in the tracker:
http://sip-router.org/tracker/index.php?do=details&task_id=127
However after saving it, I've got this error at the top of the page:
Deprecated: Assigning the return value of new by reference is deprecated in /srv/sip-router.org/flyspray/plugins/dokuwiki/inc/parser/parser.php on line 66 Deprecated: Assigning the return value of new by reference is deprecated in /srv/sip-router.org/flyspray/plugins/dokuwiki/inc/parser/lexer.php on line 292 Deprecated: Assigning the return value of new by reference is deprecated in /srv/sip-router.org/flyspray/plugins/dokuwiki/inc/parser/handler.php on line 22 Deprecated: Assigning the return value of new by reference is deprecated in /srv/sip-router.org/flyspray/plugins/dokuwiki/inc/parser/handler.php on line 44 Deprecated: Assigning the return value of new by reference is deprecated in /srv/sip-router.org/flyspray/plugins/dokuwiki/inc/parser/handler.php on line 208 Deprecated: Assigning the return value of new by reference is deprecated in /srv/sip-router.org/flyspray/plugins/dokuwiki/inc/parser/handler.php on line 236 Deprecated: Assigning the return value of new by reference is deprecated in /srv/sip-router.org/flyspray/plugins/dokuwiki/inc/parser/handler.php on line 290 Deprecated: Assigning the return value of new by reference is deprecated in /srv/sip-router.org/flyspray/plugins/dokuwiki/inc/parser/handler.php on line 323 Deprecated: Assigning the return value of new by reference is deprecated in /srv/sip-router.org/flyspray/plugins/dokuwiki/inc/parser/handler.php on line 560
On 19.04.2011 19:07, Iñaki Baz Castillo wrote:
I've reported the error in the tracker:
http://sip-router.org/tracker/index.php?do=details&task_id=127 http://sip-router.org/tracker/index.php?do=details&task_id=127
However after saving it, I've got this error at the top of the page:
Deprecated: Assigning the return value of new by reference is deprecated in /srv/sip-router.org/flyspray/plugins/dokuwiki/inc/parser/parser.php on line 66 Deprecated: Assigning the return value of new by reference is deprecated in /srv/sip-router.org/flyspray/plugins/dokuwiki/inc/parser/lexer.php on line 292 Deprecated: Assigning the return value of new by reference is deprecated in /srv/sip-router.org/flyspray/plugins/dokuwiki/inc/parser/handler.php on line 22 Deprecated: Assigning the return value of new by reference is deprecated in /srv/sip-router.org/flyspray/plugins/dokuwiki/inc/parser/handler.php on line 44 Deprecated: Assigning the return value of new by reference is deprecated in /srv/sip-router.org/flyspray/plugins/dokuwiki/inc/parser/handler.php on line 208 Deprecated: Assigning the return value of new by reference is deprecated in /srv/sip-router.org/flyspray/plugins/dokuwiki/inc/parser/handler.php on line 236 Deprecated: Assigning the return value of new by reference is deprecated in /srv/sip-router.org/flyspray/plugins/dokuwiki/inc/parser/handler.php on line 290 Deprecated: Assigning the return value of new by reference is deprecated in /srv/sip-router.org/flyspray/plugins/dokuwiki/inc/parser/handler.php on line 323 Deprecated: Assigning the return value of new by reference is deprecated in /srv/sip-router.org/flyspray/plugins/dokuwiki/inc/parser/handler.php on line 560
I'm experiencing these deprecation warnings all the time too. Although they do not seem to affect the outcome of bug report filing, somebody with sufficient PHP skills should probably fix them.
Cheers,
--Timo
On 19.04.2011 19:20, Timo Reimann wrote:
On 19.04.2011 19:07, Iñaki Baz Castillo wrote:
I've reported the error in the tracker:
http://sip-router.org/tracker/index.php?do=details&task_id=127 http://sip-router.org/tracker/index.php?do=details&task_id=127
However after saving it, I've got this error at the top of the page:
Deprecated: Assigning the return value of new by reference is deprecated in /srv/sip-router.org/flyspray/plugins/dokuwiki/inc/parser/parser.php on line 66 Deprecated: Assigning the return value of new by reference is deprecated in /srv/sip-router.org/flyspray/plugins/dokuwiki/inc/parser/lexer.php on line 292 Deprecated: Assigning the return value of new by reference is deprecated in /srv/sip-router.org/flyspray/plugins/dokuwiki/inc/parser/handler.php on line 22 Deprecated: Assigning the return value of new by reference is deprecated in /srv/sip-router.org/flyspray/plugins/dokuwiki/inc/parser/handler.php on line 44 Deprecated: Assigning the return value of new by reference is deprecated in /srv/sip-router.org/flyspray/plugins/dokuwiki/inc/parser/handler.php on line 208 Deprecated: Assigning the return value of new by reference is deprecated in /srv/sip-router.org/flyspray/plugins/dokuwiki/inc/parser/handler.php on line 236 Deprecated: Assigning the return value of new by reference is deprecated in /srv/sip-router.org/flyspray/plugins/dokuwiki/inc/parser/handler.php on line 290 Deprecated: Assigning the return value of new by reference is deprecated in /srv/sip-router.org/flyspray/plugins/dokuwiki/inc/parser/handler.php on line 323 Deprecated: Assigning the return value of new by reference is deprecated in /srv/sip-router.org/flyspray/plugins/dokuwiki/inc/parser/handler.php on line 560
I'm experiencing these deprecation warnings all the time too. Although they do not seem to affect the outcome of bug report filing, somebody with sufficient PHP skills should probably fix them.
Just a guess: Maybe someone updated PHP, but not Flyspray which uses obsolete php constructs.
klaus
On Wednesday 20 April 2011, Klaus Darilion wrote:
I'm experiencing these deprecation warnings all the time too. Although they do not seem to affect the outcome of bug report filing, somebody with sufficient PHP skills should probably fix them.
Just a guess: Maybe someone updated PHP, but not Flyspray which uses obsolete php constructs.
Hi Klaus,
yes, the machine OS has been updated recently. This is a know error according to the project list, but they did not released a new updated version so far.
http://groups.google.com/group/flyspray/browse_thread/thread/61d6db8eba0bc4c...
Do we use the dokuwiki syntax in tracker so far? Otherwise we could go for the quoted workaround.
Cheers,
Henning
On Wednesday 20 April 2011, Henning Westerholt wrote:
yes, the machine OS has been updated recently. This is a know error according to the project list, but they did not released a new updated version so far.
http://groups.google.com/group/flyspray/browse_thread/thread/61d6db8eba0bc4 c5?hl=en
Do we use the dokuwiki syntax in tracker so far? Otherwise we could go for the quoted workaround.
I've deactivated the plugin in question - please let me know if the "deprecated warning.." issue is still there.
Cheers,
Henning