You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Describe the bug
exports file format supports unlimited whitespace between share name and options. When importing an exports file into cockpit, there is an error if there is more than a single space between parts of each line.
To Reproduce
Steps to reproduce the behavior:
Create an exports file with multiple spaces between the mnt path and the options
Attempt to import the exports file
See error
Expected behavior
Properly parse exports file according to man page
Screenshots
If applicable, add screenshots to help explain your problem.
Client Side
Desktop (please complete the following information):
Bug Info
Describe the bug
exports file format supports unlimited whitespace between share name and options. When importing an exports file into cockpit, there is an error if there is more than a single space between parts of each line.
To Reproduce
Steps to reproduce the behavior:
Expected behavior
Properly parse exports file according to man page
Screenshots
![image](https://private-user-images.githubusercontent.com/2926882/352603419-0765b171-f86f-4019-b61d-5aa978b57c33.png?jwt=eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpc3MiOiJnaXRodWIuY29tIiwiYXVkIjoicmF3LmdpdGh1YnVzZXJjb250ZW50LmNvbSIsImtleSI6ImtleTUiLCJleHAiOjE3MzkzNTMzNDUsIm5iZiI6MTczOTM1MzA0NSwicGF0aCI6Ii8yOTI2ODgyLzM1MjYwMzQxOS0wNzY1YjE3MS1mODZmLTQwMTktYjYxZC01YWE5NzhiNTdjMzMucG5nP1gtQW16LUFsZ29yaXRobT1BV1M0LUhNQUMtU0hBMjU2JlgtQW16LUNyZWRlbnRpYWw9QUtJQVZDT0RZTFNBNTNQUUs0WkElMkYyMDI1MDIxMiUyRnVzLWVhc3QtMSUyRnMzJTJGYXdzNF9yZXF1ZXN0JlgtQW16LURhdGU9MjAyNTAyMTJUMDkzNzI1WiZYLUFtei1FeHBpcmVzPTMwMCZYLUFtei1TaWduYXR1cmU9NzRkN2MyZmZiMTY5YTY0Y2M0YjhiMjc5OGNhYjM5ODc1NzIwZDVhY2M5NjdlZTc1MzhiYjczZWI2NTMzNTEzNyZYLUFtei1TaWduZWRIZWFkZXJzPWhvc3QifQ.SlUcnd3LtEFs11IERTe0IJOgyd-qzm6XpTfEhS4xHfg)
If applicable, add screenshots to help explain your problem.
Client Side
Desktop (please complete the following information):
Server Side
The text was updated successfully, but these errors were encountered: