You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@vcl.apache.org by "ASF subversion and git services (JIRA)" <ji...@apache.org> on 2015/08/04 20:44:04 UTC

[jira] [Commented] (VCL-871) OS.pm::create_text_file fails if content is too long

    [ https://issues.apache.org/jira/browse/VCL-871?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14654129#comment-14654129 ] 

ASF subversion and git services commented on VCL-871:
-----------------------------------------------------

Commit 1694095 from [~fapeeler] in branch 'vcl/trunk'
[ https://svn.apache.org/r1694095 ]

VCL-871 

OS.pm - removed -n from the echo command
Linux.pm removed trailing new line from sudoers string

> OS.pm::create_text_file fails if content is too long
> ----------------------------------------------------
>
>                 Key: VCL-871
>                 URL: https://issues.apache.org/jira/browse/VCL-871
>             Project: VCL
>          Issue Type: Improvement
>          Components: vcld (backend)
>    Affects Versions: 2.4.2
>            Reporter: Andy Kurth
>            Assignee: Andy Kurth
>            Priority: Minor
>             Fix For: 2.4.3
>
>
> {{OS.pm::create_text_file}} converts each character of the text content argument to its hex value and creates a string passed to _echo -e_.  This normally works correctly and allows single quote charcters to be added to the file.  However, the command fails if the string becomes too long.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)