Skip to content

Wrong download query is generated when placing wildcard at the end #1

Closed

Description

@yoshaul

for example jfrog rt dl releases/jfrog.com/test/server/server*
Generated the following query:
items.find({"repo": "releases","$or": [{"$and": [{"path": {"$match":"jfrog.com/test/server"},"name":{"$match":"server*"}}]},{"$and": [{"path": {"$match":"jfrog.com/test/serverserver"},"name":{"$match":"*"}}]}]})

Note the "serverserver"

Activity

  1. eyalbe4 commented on Mar 22, 2016

    @eyalbe4
    Contributor

    Thank you for reporting this.
    This issue has been fixed. The code has been committed to branch 1.1 and will be included as part of the release 1.1.

  2. eyalbe4 commented on May 5, 2016

    @eyalbe4
    Contributor

    The fixed is included in the latest release.

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

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions