Actions
Bug #856
closedInteral paths containing single quotes cause error of scrollIntoView
Start date:
06/15/2011
Due date:
% Done:
0%
Estimated time:
Description
This is the C code:
>WAnchor* a = new WAnchor( root() );
a->setRefInternalPath( "/PathContainingQuotes:'" );
// a->setRefInternalPath( "/PathContainingQuotes:%27" ); //Percent encoding does no help.
a->setText( "PathContainingQuotes:'" );
This is the Ajax response after clicking the link:
>Wt3_1_9.scrollIntoView('/PathContainingQuotes:'');
Three single quotes here lead to Javascript error.
Updated by con abs over 13 years ago
I forgot login but it seems posting a bug does not need login :-)
Updated by Koen Deforche over 13 years ago
- Status changed from New to Resolved
Good catch.
I've fixed this in my local copy --- will be in git soon.
Regards,
koen
Updated by Koen Deforche over 13 years ago
- Status changed from Resolved to Closed
Actions