Project

General

Profile

Actions

Bug #1687

closed

Backslashes in plugin params are doubled or quadrupled when used in plugins

Added by nant about 15 years ago. Updated about 15 years ago.

Status:
Closed
Priority:
Normal
Assignee:
Target version:
Start date:
10 May 2010
Due date:
% Done:

100%

Estimated time:
1:00 h

Description

function parse( ) in cbParamsBase class does not handle backshlashes properly:

Need to replace:

$value = str_replace( array( '\n', '\r', '\\\\' ), array( "\n", "\r", '\\' ), $value );
//$value = str_replace( array( '\n', '\r' ), array( "\n", "\r" ), $value );

in 2 places in function.

There is still 1 more \ handling bug somewhere, since invalid\.com saved in parms becomes invalid\\.com

Actions #2

Updated by beat about 15 years ago

Commit r988 implements the first fix above. But it looks like there is one more backslash-escaping in the expressions of CB-substitutions

Actions #3

Updated by beat about 15 years ago

  • Status changed from New to Feedback
  • % Done changed from 50 to 90

Looks like now fixed. Please check in b1.

Actions #6

Updated by nant about 15 years ago

  • Assignee changed from nant to beat

Looks ok!

Actions

Also available in: Atom PDF