vHost editor uses CRLF when saving files on disk #436

Closed
opened 2026-04-05 20:27:52 +02:00 by MrUnknownDE · 0 comments
Owner

Originally created by @RixzZ on 1/27/2023

CloudPanel version(s) affected

2.2.0

Description

Seems like the vhost editor from CloudPanel uses CRLF for some reason. This is being translated to disk files, so it's not just visual during editing.

How to reproduce

Open the vhost file with an editor that shows carriage returns to see it.

Even if you convert it to LF manually, saving on the CloudPanel editor adds the CRLF again.

Possible Solution

No response

Additional Context

image

*Originally created by @RixzZ on 1/27/2023* ### CloudPanel version(s) affected 2.2.0 ### Description Seems like the vhost editor from CloudPanel uses CRLF for some reason. This is being translated to disk files, so it's not just visual during editing. ### How to reproduce Open the vhost file with an editor that shows carriage returns to see it. Even if you convert it to LF manually, saving on the CloudPanel editor adds the CRLF again. ### Possible Solution _No response_ ### Additional Context ![image](https://user-images.githubusercontent.com/1339272/215111633-cb0f3f1d-8c63-42ee-a294-ac08e1cfd07b.png)
Sign in to join this conversation.