Project

General

Profile

Actions

Bug #856

closed

Interal paths containing single quotes cause error of scrollIntoView

Added by Anonymous over 13 years ago. Updated over 13 years ago.

Status:
Closed
Priority:
High
Assignee:
Target version:
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.

Actions #1

Updated by con abs over 13 years ago

I forgot login but it seems posting a bug does not need login :-)

Actions #2

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

Actions #3

Updated by Koen Deforche over 13 years ago

  • Target version set to 3.1.10
Actions #4

Updated by Koen Deforche over 13 years ago

  • Status changed from Resolved to Closed
Actions

Also available in: Atom PDF