Bug 12330 - dhcp.cgi: Remarks in static leases cannot contain unicode characters
Summary: dhcp.cgi: Remarks in static leases cannot contain unicode characters
Status: CLOSED DUPLICATE of bug 12395
Alias: None
Product: IPFire
Classification: Unclassified
Component: --- (show other bugs)
Version: 2
Hardware: unspecified Unspecified
: Will affect most users Aesthetic Issue
Assignee: Assigned to nobody - feel free to grab it and work on it
QA Contact:
URL:
Keywords: GoodFirstBug
Depends on:
Blocks:
 
Reported: 2020-03-20 16:56 UTC by Michael Tremer
Modified: 2024-04-08 17:16 UTC (History)
2 users (show)

See Also:


Attachments
Screenshot OpenVPN (22.08 KB, image/png)
2021-06-16 09:24 UTC, Thorsten Schöning
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Michael Tremer 2020-03-20 16:56:29 UTC
It breaks any string that contains special characters like an Umlaut for example (äöü) and shows some funny UTF-8 characters in the table after hitting "Save".

This probably only needs to be consistently encoded when read and written to file.
Comment 1 Thorsten Schöning 2021-06-16 09:24:58 UTC
Created attachment 909 [details]
Screenshot OpenVPN

The same happens for OpenVPN as well. The attached screenshot is after multiple attempts to create a connection with invalid name, hence multiple wrongly encoded UTF-8 bytes, and after successfully creating a new connection. In the latter case the web-UI as well as the input to change the remark show individual UTF-8 bytes instead of the correct character "ö".
Comment 2 Michael 2022-09-17 14:23:26 UTC
Can confirm this, just had the same issue when writing "Büro" into any remark of a dhcp lease.

This results e.g. in 
  Echo Dot (Büro)
Comment 3 Michael Tremer 2024-04-08 17:16:36 UTC

*** This bug has been marked as a duplicate of bug 12395 ***