Details

    • Type: Improvement Improvement
    • Status: Closed
    • Priority: Trivial Trivial
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: None
    • Component/s: ldap
    • Labels:
      None
    • Environment:
      not relevant

      Description

      RFC 2849 states that a ldif file must start with the 'version: 1' string. LdifParserImpl does accept files that don't respect this rule.

      It was marked Trivial as this is really not an issue : Microsoft(TM) ldifde.exe tool accept those kind of files (even worse : it does NOT accept files with a 'version: 1' string ...). I think that it should be an option, but at least, it should verify that the version number is '1', if present ! (p.5, par.1)

      BTW, RFC2849 is not very clear on this subject, and could be interpreted as "If <version-spec> is absent, ..." instead of "If version number is absent..."

        Activity

        Emmanuel Lecharny created issue -
        Alex Karasulu made changes -
        Field Original Value New Value
        Affects Version/s 0.8.0 [ 11000 ]
        Fix Version/s 0.8.1 [ 11066 ]
        Vincent Tence made changes -
        Type Bug [ 1 ] Improvement [ 4 ]
        Alex Karasulu made changes -
        Fix Version/s 0.9.2 [ 12310220 ]
        Fix Version/s 0.9.3 [ 12310221 ]
        Alex Karasulu made changes -
        Type Improvement [ 4 ] Bug [ 1 ]
        Key DIRLDAP-25 DIRSERVER-187
        Project Directory LDAP [ 10514 ] ApacheDS [ 12310260 ]
        Fix Version/s 0.9.3 [ 12310221 ]
        Affects Version/s 0.8.0 [ 11000 ]
        Alex Karasulu made changes -
        Component/s ldap [ 12310715 ]
        Emmanuel Lecharny made changes -
        Type Bug [ 1 ] Improvement [ 4 ]
        Description RFC 2849 states that a ldif file must start with the 'version: 1' string. LdifParserImpl does accept files that don't respect this rule.

        It was marked Trivial as this is really not an issue : Microsoft(TM) ldifde.exe tool accept those kind of files (even worse : it does NOT accept files with a 'version: 1' string ...). I think that it should be an option, but at least, it should verify that the version number is '1', if present ! (p.5, par.1)

        BTW, RFC2849 is not very clear on this subject, and could be interpreted as "If <version-spec> is absent, ..." instead of "If version number is absent..."
        RFC 2849 states that a ldif file must start with the 'version: 1' string. LdifParserImpl does accept files that don't respect this rule.

        It was marked Trivial as this is really not an issue : Microsoft(TM) ldifde.exe tool accept those kind of files (even worse : it does NOT accept files with a 'version: 1' string ...). I think that it should be an option, but at least, it should verify that the version number is '1', if present ! (p.5, par.1)

        BTW, RFC2849 is not very clear on this subject, and could be interpreted as "If <version-spec> is absent, ..." instead of "If version number is absent..."
        Emmanuel Lecharny made changes -
        Assignee Alex Karasulu [ akarasulu ] Emmanuel Lecharny [ elecharny ]
        Emmanuel Lecharny made changes -
        Status Open [ 1 ] In Progress [ 3 ]
        Emmanuel Lecharny made changes -
        Status In Progress [ 3 ] Resolved [ 5 ]
        Resolution Fixed [ 1 ]
        Emmanuel Lecharny made changes -
        Status Resolved [ 5 ] Closed [ 6 ]

          People

          • Assignee:
            Emmanuel Lecharny
            Reporter:
            Emmanuel Lecharny
          • Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved:

              Development