Skip to content

Wrong URL checked? Includes query string in path #71

Description

@hitsthings

Describe the bug
Just noticed that one of the URLs you hit for testing my Connect app includes a fake querystring in the path portion of the URL.

The URL you hit is /atlassian/project/test&canEditProject=true

To Reproduce
I have a jiraProjectPage with the following URL:
/atlassian/project/{project.key}/{project.id}/?canViewProject=true&project_key={project.key}&project_id={project.id}&canEditProject={condition.has_project_permission(permission=EDIT_ISSUES)}

Expected behavior
You probably want to test /atlassian/project/test?canEditProject=true so that you are testing the actual queryStringHash validation.

You probably would also want to use a real project key? Otherwise I think you just get 404s anyway?

Marketplace App Information
Include one of the following:

I don't need an update or anything - feel free to ignore this if I'm off. Just felt like you'd want to be doing something different.

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions