Actions
Bug #1687
closedBackslashes in plugin params are doubled or quadrupled when used in plugins
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
Updated by beat over 14 years ago
- Subject changed from function parse( ) in cbParamsBase class does not handle backshlashes properly to Backslashes in plugin params are doubled or quadrupled when used in plugins
- Assignee set to beat
- Target version set to CB 1.2.3
- % Done changed from 0 to 50
- Estimated time set to 1:00 h
Updated by beat over 14 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
Updated by beat over 14 years ago
- Status changed from New to Feedback
- % Done changed from 50 to 90
Looks like now fixed. Please check in b1.
Actions