Project

General

Profile

Actions

Bug #1687

closed

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

Added by nant over 14 years ago. Updated over 14 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

Also available in: Atom PDF