Showing results for 
Search instead for 
Did you mean: 
Sign up Log in

It's not the same without you

Join the community to find out what other Atlassian users are discussing, debating and creating.

Atlassian Community Hero Image Collage

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
Posted in Bitbucket

Share your use cases: How do you use the Bitbucket-Jira integration? How does it help your team?

Hey everyone, over the past year, we've added several new features to how you can use Bitbucket and Jira together. We'd love to know how you'll are using the integration and how it's helping your tea...

48 views 0 1
Join discussion

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