Skip to content

Does not handle Comments that begin with "#" character #247

Open

Description

@dbaechtel

Ini Paser should handle Comments that start with ";" and "#" characters identically.

Activity

  1. phiskits commented on Jun 11, 2024

    @phiskits

    can confirm, program crashes for me when trying to read files with "#" comments

  2. phiskits commented on Jun 11, 2024

    @phiskits

    can confirm, program crashes for me when trying to read files with "#" comments

    i found the solution to this in another issue, the comment character is customizable
    #243 (comment)

  3. beedell-roke commented on Sep 17, 2024

    @beedell-roke
  4. haraldrohan commented on Sep 19, 2026

    @haraldrohan

    The current parser supports changing the comment delimiter from ; to # via parser.Scheme.CommentString, so this is supported as an alternative configuration.

    However, this issue requests support for both ; and # in the same file. That would be a useful compatibility enhancement rather than a bug fix. Any implementation should also preserve # inside values such as URLs and passwords.

    I suggest classifying this issue as an enhancement/feature request.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions