Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Shift+Enter for lucky searching broken #1539

Closed
Smylers opened this issue Jun 3, 2015 · 1 comment
Closed

Shift+Enter for lucky searching broken #1539

Smylers opened this issue Jun 3, 2015 · 1 comment

Comments

@Smylers
Copy link
Contributor

Smylers commented Jun 3, 2015

Using Shift+Enter for going straight to a module's docs isn't very lucky at the moment.

As a non-logged-in user:

  1. Go to https://metacpan.org/
  2. Type a module name, such as “Path::Tiny”.
  3. Note the module name showing up in the instant results box.
  4. Press Shift+Enter.
  5. End up at https://metacpan.org/account/logout, instead of the module's docs. There's a mysterious “1” in the search box and the error “Forbidden: You don't have permission to access this resource.”:
    metacpan_forbidden_1

If at step 4 you click on the module name in the instant results list (instead of pressing Shift+Enter), it takes you as expected to the module's docs.

Since the erroneous URL has ‘logout’ in it, I also tried logging in and redoing the search, to see if that was luckier. It isn't, though it is different: you end up logged out and back at the homepage.

@rwstauner
Copy link
Contributor

Thanks for reporting!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants