------------------------------------------------------------------------------
To reply, visit https://hellosplat.com/s/beanbag/tickets/4879/
------------------------------------------------------------------------------

New ticket #4879 by amiryal
For Beanbag, Inc. > Review Board

Status: New
Tags: Priority:Medium, Type:Defect


------------------------------------------------------------------------------
Error when dispatching a webhook with auth credentials: AttributeError: 
'SplitResult' object has no attribute 'params'
==============================================================================

# What version are you running?

3.0.18

# What's the URL of the page containing the problem?

The error shows up in server logs:
```
2020-09-10 07:54:27,439 - INFO -  - root - Dispatching webhook for event 
review_request_published to 
https://username:passw...@example.com/path?param=value
2020-09-10 07:54:27,440 - ERROR -  - root - Could not dispatch WebHook to 
https://username:passw...@example.com/path?param=value: 'SplitResult' object 
has no attribute 'params'
Traceback (most recent call last):
  File 
"/usr/local/lib/python2.7/dist-packages/reviewboard/notifications/webhooks.py", 
line 299, in dispatch_webhook_event
    url_parts.params, url_parts.query))
AttributeError: 'SplitResult' object has no attribute 'params'
```

# Please provide any additional information below.

See [my comment on the failing 
code](https://reviews.reviewboard.org/r/8916/#review37620), which still lives 
in latest master.

Both [Python 
3](https://docs.python.org/3/library/urllib.parse.html#urllib.parse.urlsplit) 
and [legacy Python 
2](https://docs.python.org/2/library/urlparse.html#urlparse.urlsplit) have the 
same interface, so it shouldn’t matter that my site is still running on Python 
2.

------------------------------------------------------------------------------

-- 
You received this message because you are subscribed to the Google Groups 
"reviewboard-issues" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to reviewboard-issues+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/reviewboard-issues/20200910084149.13178.19040%40ip-10-1-54-209.ec2.internal.

Reply via email to