minio icon indicating copy to clipboard operation
minio copied to clipboard

Multiline comment for region causes error

Open goldstar611 opened this issue 2 years ago • 0 comments

Expected Behavior

Be able to save multi line region comment without error

Current Behavior

When using a multiline comment the following error banner is displayed:

Unknown sub-system This is line 2"

Possible Solution

Improve the subsystem/key/value parser. I found the error message defined at https://github.com/minio/minio/blob/18dffb26e7aba09074704d169517285ac3870e86/internal/config/config.go#L682 but I don't know any golang.

Steps to Reproduce (for bugs)

  1. Set up a single node single drive test instance
  2. Log into the console
  3. Set the region comment to something with multiple lines
  4. Click Save

Context

image

Regression

Don't know.

Your Environment

  • Version used (minio --version):
minio version RELEASE.2022-09-17T00-09-45Z (commit-id=d89f6af6c4ab280140627974252077fba47bbb79)
Runtime: go1.18.6 linux/amd64
License: GNU AGPLv3 <https://www.gnu.org/licenses/agpl-3.0.html>
Copyright: 2015-2022 MinIO, Inc
  • Server setup and configuration:
Single Node 
Single Disk
Testing instance
  • Operating System and version (uname -a):
Debian 11 64-bit Intel

goldstar611 avatar Sep 22 '22 15:09 goldstar611