Come for the products,
stay for the community

The Atlassian Community can help you and your team get more value out of Atlassian products and practices.

Atlassian Community about banner
Community Members
Community Events
Community Groups

Bitbucket Cloud might have a bug with its commit viewer

I'd report this privately (possible security issue) if I could, but I can't find a link to do that.

It appears there's a bug in the HTML rendering of the BitBucket cloud UI causing broken images:


See the broken image?  Here's its (censored) link:…censored…/%3Cbound%20method%20UserProfile.get_avatar_url%20of%20%3CUserProfile:%20me%3E%3E

Let me de-URLencode that:

RC=0 stuartl@rikishi ~ $ ipython3
Python 3.8.8 (default, Apr 28 2021, 15:22:53)
Type 'copyright', 'credits' or 'license' for more information
IPython 7.21.0 -- An enhanced Interactive Python. Type '?' for help.

In [1]: import urllib.parse

In [2]: uri=''

In [3]: url_split=urllib.parse.urlsplit(uri)

In [4]: url_split
Out[4]: SplitResult(scheme='https', netloc='', path='/censored/commits/%3Cbound%20method%20UserProfile.get_avatar_url%20of%20%3CUserProfile:%20me%3E%3E', query='', fragment='')

In [5]: urllib.parse.unquote(url_split.path)
Out[5]: '/censored/commits/<bound method UserProfile.get_avatar_url of <UserProfile: me>>'

Smells like someone thought `get_avatar_url` was a property and not a method, as that looks very much like what Python does when you reference a method of an object directly (and I think, BitBucket is Python-based).

1 answer

i can confirm this bug, it looks like this:image.png

Suggest an answer

Log in or Sign up to answer
Community showcase
Published in Bitbucket

Git push size limits are coming to Bitbucket Cloud starting April 4th, 2022

Beginning on April 4th, we will be implementing push limits. This means that your push cannot be completed if it is over 3.5 GB. If you do attempt to complete a push that is over 3.5 GB, it will fail...

2,117 views 2 9
Read article

Community Events

Connect with like-minded Atlassian users at free events near you!

Find an event

Connect with like-minded Atlassian users at free events near you!

Unfortunately there are no Community Events near you at the moment.

Host an event

You're one step closer to meeting fellow Atlassian users at your local event. Learn more about Community Events

Events near you