https://bugs.kde.org/show_bug.cgi?id=493057

            Bug ID: 493057
           Summary: Inappropriate host name capitalization
    Classification: Applications
           Product: Smb4k
           Version: unspecified
          Platform: Other
                OS: Linux
            Status: REPORTED
          Severity: minor
          Priority: NOR
         Component: general
          Assignee: alexander.reinho...@kdemail.net
          Reporter: voidpointertonull+bugskde...@gmail.com
  Target Milestone: ---

The user-provided host name is converted to uppercase unconditionally almost
everywhere, which is inappropriate for the following reasons:
- It's usual to capitalize the NetBIOS name, but it doesn't seem to be
mandatory. Searching for pictures of Windows mounted shares revealed plenty of
examples of lowercase names, especially in cases of DNS names being used.
- The user provided URL is allowed to contain an arbitrary host name which is
preserved in a case sensitive manner in the bookmark file, which results in an
odd combination of allowing custom names, but forcing an outdated tradition on
the names.

Considering this a bug instead of a wishlist item due to non-ancient Windows
versions seemingly not forcing uppercase names (anymore?).

Beware of potential breakage. If this ever gets dealt with, a new config entry
(per mount?) should determine if the name is case sensitive ("new"), or should
be still capitalized ("old") to make sure old bookmarked items still get the
same path.

This may be also somewhat obsoleted if the current prefix-based path approach
gets replaced by something more flexible in the future, like a path pattern
with variables, or custom paths per mounts. Names in the GUI still shouldn't be
unconditionally capitalized though.

-- 
You are receiving this mail because:
You are watching all bug changes.

Reply via email to