You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@trafficserver.apache.org by "Leif Hedstrom (JIRA)" <ji...@apache.org> on 2014/11/19 18:34:34 UTC
[jira] [Commented] (TS-2936) Comments and line continuations in
remap.config is bad mojo
[ https://issues.apache.org/jira/browse/TS-2936?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14218197#comment-14218197 ]
Leif Hedstrom commented on TS-2936:
-----------------------------------
Returning this to the "pool", I think it'd be a good fix to not have it suck up lines like that as part of the comments (but that's just my $0.01).
Also, I think the line continuations makes error reporting confusing; The line number where the error occurs is no longer accurate (one continuated entry counts as one line in the source file). I don't know if we have a separate bug for that?
> Comments and line continuations in remap.config is bad mojo
> -----------------------------------------------------------
>
> Key: TS-2936
> URL: https://issues.apache.org/jira/browse/TS-2936
> Project: Traffic Server
> Issue Type: Bug
> Components: Configuration, Core
> Reporter: Leif Hedstrom
> Fix For: 5.3.0
>
>
> If you do a line continuation on a commented out line in remap.config, it'll still suck up the following line into the comment. This is less than ideal. As an example, this does not work
> {code}
> map http://example.com http://real.example.com \
> # @plugin=conf_remap.so @pparam= ... \
> @plugin=header_rewrite.so @pparam= ...
> {code}
> The issue being that the second plugin line gets sucked into the comment.
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)