Closed snguyenthanh closed 6 years ago
@snguyenthanh. What arguments did you pass to astra?
@sagarpo I didn't pass anything in the headers and body. I only filled the Product Name
and URL
.
@snguyenthanh I am not able to reproduce the same in my system. I have tried the same on my mac and Ubuntu system. What was the URL did you pass?
hmm I also fail to reproduce the error again... I think just leave this as a note. The issue can be closed.
@snguyenthanh.. cool. I am closing the issue. Feel free to open it if you face the same.
I got the following error when trying to submit an URL to my local REST server:
As I see, in
modules.cors.generate_origin
, from line 59, this caused the error:From the urlparse's docs, the
hostname
return aNone
object if no hostname is found. I think we need to add a validator here to checkdomain_name
is notNone
.