Actions
Bug #856
closed
KD
Interal paths containing single quotes cause error of scrollIntoView
Bug #856:
Interal 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.
CA Updated by con abs about 15 years ago
I forgot login but it seems posting a bug does not need login :-)
KD Updated by Koen Deforche about 15 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
KD Updated by Koen Deforche about 15 years ago
- Target version set to 3.1.10
KD Updated by Koen Deforche about 15 years ago
- Status changed from Resolved to Closed
Actions