Skip to content

Websearch trigger shouldn't require a whitespace #321

@anavarre

Description

@anavarre
Environment
  • Operating system: Ubuntu 16.04.1 LTS
  • Desktop environment: Unity
  • Qt version: 5.5.1
  • Source: ppa:nilarimogard/webupd8
Steps to reproduce

I tried to add a new Websearch trigger. To do so I performed the following steps:

  • Name: Drupal project
  • Trigger: p
  • URL: https://www.drupal.org/project/%s

Then I launched Albert and typed p search_api.

Expected behaviour

Typingp search_api should bring me to https://www.drupal.org/project/search_api - I shouldn't have to add an extra white space to the trigger. It should be added automatically or add a delimiter (e.g. a column) between the trigger character and the string.

Actual behaviour

Typingp search_api brought me to https://www.drupal.org/project/%20search_api which returns a 404.

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