commons-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Camillo Dell'mour (JIRA)" <>
Subject [jira] [Created] (DAEMON-399) apxStrUnQuoteInplaceA removes needed quotes
Date Tue, 09 Apr 2019 13:02:00 GMT
Camillo Dell'mour created DAEMON-399:

             Summary: apxStrUnQuoteInplaceA removes needed quotes
                 Key: DAEMON-399
             Project: Commons Daemon
          Issue Type: Bug
          Components: Procrun
    Affects Versions: 1.1.0
            Reporter: Camillo Dell'mour

When trying to pass the following argument to the jvm
the method apxStrUnQuoteInplaceA removes " from it and the resulting command looks like this:
Which is an invalid jvm argument.

Workaround for version 1.1.0 is to add a space into the log filename.

IMHO the proper fix would be not too use apxStrUnQuoteInplaceA at all.

Another possible fix would be to replace utils.c:571 with
else if (*p == ' ' || *p == ':') {

This message was sent by Atlassian JIRA

View raw message