clp icon indicating copy to clipboard operation
clp copied to clipboard

Quoting (") the query in the webui searches *with* the quotes rather than stripping them.

Open kirkrodrigues opened this issue 10 months ago • 0 comments

Bug

Searching for " info " in the webui searches for the literal string " info ", including the quotes, meaning that the query doesn't find matches for info. User expectation is that the quotes would be stripped unless escaped.

CLP version

ce3af8d

Environment

Ubuntu 20.04

Reproduction steps

  • Build a package

    task package
    
  • Start the package

    cd build/clp-package
    sbin/start-clp.sh
    
  • Compress https://zenodo.org/records/7094921

    sbin/compress.sh hive-24hr
    
  • Open the webui (http://localhost:4000/search)

  • Enter the query INFO in the webui and observe results are returned

  • Enter the query " INFO " in the webui and observe no results are returned

kirkrodrigues avatar Apr 03 '24 15:04 kirkrodrigues