Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

When starting config with backslash parsing fails #35

Open
bpradeep20 opened this issue Nov 14, 2018 · 4 comments
Open

When starting config with backslash parsing fails #35

bpradeep20 opened this issue Nov 14, 2018 · 4 comments
Labels
bug Something isn't working question Further information is requested

Comments

@bpradeep20
Copy link

For below config:

# comment
\
<main>
    key value
</main>

This is raising an error:

raise ApacheConfigError("Illegal character '%s'" % t.value[0])

apacheconfig.error.ApacheConfigError: Illegal character ''

while perl parser parse it properly.

I am not sure whether perl's behavior is correct but just wanted to bring it to your notice.

Also it might be related to #34.

Can you please check?

@etingof
Copy link
Owner

etingof commented Nov 14, 2018

Hopefully fixed by commit 08d42cb which is in master.

@bpradeep20
Copy link
Author

This worked for me. Thanks for fixing it.

@etingof etingof closed this as completed Dec 5, 2018
@Sumit3
Copy link

Sumit3 commented Jan 7, 2019

This issue is occurring for me again. I checked the my checkout has the fixes present in above commit but i still receive the above error

@etingof
Copy link
Owner

etingof commented Sep 26, 2019

Hey, is it still failing for you with the latest master?

@etingof etingof reopened this Sep 26, 2019
@etingof etingof added bug Something isn't working question Further information is requested labels Nov 17, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working question Further information is requested
Projects
None yet
Development

No branches or pull requests

3 participants