Uploaded image for project: 'Bitbucket Cloud'
  1. Bitbucket Cloud
  2. BCLOUD-7914

Naming an issue "vote", "follow" or "unfollow" creates a buggy issue

    XMLWordPrintable

Details

    Description

      I created a "vote" issue to symbolize the idea we needed to implement a voting mechanism in our website. And that issue was inaccessible. That was due to the link generated that looked like https://bitbucket.org/team/repository/issue/id/vote which is exactly the same path that would be used to vote for this issue.

      It's easy to understand that both issue display & issues action can't have the same URL. I had to trick the url and use a non existent name to access the issue & destroy it.

      Possible solutions would be to forbid issue names that correspond to actions. Or to change the actions url to use get attributes like ?vote=1. Or to put the actions attributes under the issue name (like in repos/issue/id/name/vote.)

      Attachments

        Activity

          People

            Unassigned Unassigned
            82568742367a qraynaud
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: