View Issue Details
ID | Project | Category | View Status | Date Submitted | Last Update |
---|---|---|---|---|---|
0001160 | bareos-core | General | public | 2019-12-15 13:01 | 2024-03-20 14:52 |
Reporter | tuxmaster | Assigned To | arogge | ||
Priority | normal | Severity | minor | Reproducibility | always |
Status | closed | Resolution | won't fix | ||
Platform | Linux | OS | CentOS | OS Version | 7 |
Product Version | 18.2.7 | ||||
Summary | 0001160: The value for the name oftopn of an resurece must be ascii only | ||||
Description | When set the name to an resource contains no ascii chars then the director will not start. Sample: will work: Pool { name = foo ... } will fails: Pool { name = fooäöü ... } But the documentation says, that file files can be UTF-8. | ||||
Additional Information | Using unicode chars in other options than name, it will work. | ||||
Tags | No tags attached. | ||||
Where in the docs does it say that you can use anything non-ascii for a resource name? If it is documented like that it is simply wrong and we would have to update the documentation. |
|
I have read this documentation: https://docs.bareos.org/Configuration/CustomizingTheConfiguration.html Under the section "Character Sets" https://docs.bareos.org/Configuration/CustomizingTheConfiguration.html#character-sets is written, that bareos will use UTF-8 encodings. And in the section of the name resource there is only spoken of alphanumeric characters. So for example an 'ä' is an normal character. So then there must be an hint here, that only asciii chars, are allowed here. Because for options that accept an string, utf-8 chars are working. |
|
In the data-type section at https://docs.bareos.org/Configuration/CustomizingTheConfiguration.html#data-types there is the following description: """ A keyword or name consisting of alphanumeric characters, including the hyphen, underscore, and dollar characters. The first character of a name must be a letter. A name has a maximum length currently set to 127 bytes. Please note that Bareos resource names as well as certain other names (e.g. Volume names) must contain only letters (including ISO accented letters), numbers, and a few special characters (space, underscore, …). All other characters and punctuation are invalid. """ We can improve the documentation for that quite a lot. However, I'm not sure it is sufficient to do it here. Do you think we should add another hint somewhere else? |
|
I think it will be better, general say, that only ascii chars are allowed under the general section. Or when possible modify the parser, so that it will accept utf-8 strings on all settings. |
|
no changes will occurs without community proposal (PR) or sponsored code. | |
Date Modified | Username | Field | Change |
---|---|---|---|
2019-12-15 13:01 | tuxmaster | New Issue | |
2019-12-16 17:25 | arogge | Assigned To | => arogge |
2019-12-16 17:25 | arogge | Status | new => feedback |
2019-12-16 17:25 | arogge | Note Added: 0003673 | |
2019-12-16 17:59 | tuxmaster | Note Added: 0003674 | |
2019-12-16 17:59 | tuxmaster | Status | feedback => assigned |
2019-12-17 09:45 | arogge | Note Added: 0003677 | |
2019-12-17 18:27 | tuxmaster | Note Added: 0003678 | |
2024-03-20 14:52 | bruno-at-bareos | Status | assigned => closed |
2024-03-20 14:52 | bruno-at-bareos | Resolution | open => won't fix |
2024-03-20 14:52 | bruno-at-bareos | Note Added: 0005858 |