More info about the bug
function a($a, $b) { return $a . $b; }
for this
(script( $aiki->test->a('abs', 'bsd'); )script)
returns abs'bsd'
function a($a) { return $a; }
for
(script( $aiki->test->b('abs'); )script)
returns abs'
so probalby mtoken function is have bugs (if new (script( use it)
** Summary changed:
- Quote is not remove from argument
+ Quote is not remove from argument in extension call
** Changed in: aikiframework
Milestone: None => 0.9.1
** Changed in: aikiframework
Importance: Undecided => High
--
You received this bug notification because you are a member of Aiki
Framework Admins, which is subscribed to aikiframework.
https://bugs.launchpad.net/bugs/962055
Title:
Quote is not remove from argument in extension call
Status in Aiki Framework:
New
Bug description:
if you execute extension as this
(script( $aiki->json->rpc('(!(1)!)');
)script)
and call with /rpc/system it pass system' into extension the same is
if you put double quotes.
quick fix is to not use quotes, Aiki now handle double open parentheses
properly in this case
(script( $aiki->json->rpc((!(1)!));
)script)
but this should be fix in Aiki
To manage notifications about this bug go to:
https://bugs.launchpad.net/aikiframework/+bug/962055/+subscriptions
_______________________________________________
Mailing list: https://launchpad.net/~aikiframework.admins
Post to : [email protected]
Unsubscribe : https://launchpad.net/~aikiframework.admins
More help : https://help.launchpad.net/ListHelp