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/05/12 21:37:59 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=14540563#comment-14540563 ] 

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

Commit 1679037 from [~arkurth] in branch 'vcl/trunk'
[ https://svn.apache.org/r1679037 ]

VCL-871
Added code to OS.pm::create_text_file to attempt to echo the original content argument of the escaped hex value method fails.

> 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)