[asterisk-bugs] [JIRA] (ASTERISK-26355) ari: Swagger basePath url always set to http protocol

Asterisk Team (JIRA) noreply at issues.asterisk.org
Sat Sep 10 16:21:01 CDT 2016


    [ https://issues.asterisk.org/jira/browse/ASTERISK-26355?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=232238#comment-232238 ] 

Asterisk Team commented on ASTERISK-26355:
------------------------------------------

Thanks for creating a report! The issue has entered the triage process. That means the issue will wait in this status until a Bug Marshal has an opportunity to review the issue. Once the issue has been reviewed you will receive comments regarding the next steps towards resolution.

A good first step is for you to review the [Asterisk Issue Guidelines|https://wiki.asterisk.org/wiki/display/AST/Asterisk+Issue+Guidelines] if you haven't already. The guidelines detail what is expected from an Asterisk issue report.

Then, if you are submitting a patch, please review the [Patch Contribution Process|https://wiki.asterisk.org/wiki/display/AST/Patch+Contribution+Process].

> ari: Swagger basePath url always set to http protocol
> -----------------------------------------------------
>
>                 Key: ASTERISK-26355
>                 URL: https://issues.asterisk.org/jira/browse/ASTERISK-26355
>             Project: Asterisk
>          Issue Type: Bug
>      Security Level: None
>          Components: Resources/res_ari
>    Affects Versions: 12.8.2, 13.11.2
>            Reporter: Dan Jenkins
>
> When asterisk http.conf is setup for TLS and HTTPS is available. The URL given in basePath of all of the ARI documents is set to http.
> In http.conf I had set http to bind to 127.0.0.1 and https to bind to 0.0.0.0 so that you could only connect to Asterisk HTTP using https. 
> However, the http protocol is hard coded in res/res_ari.c
> We'd want to know which protocol was being used to access a document and use that protocol when rendering out the json documents because you may have http enabled and https enabled for different reasons under different domains etc.



--
This message was sent by Atlassian JIRA
(v6.2#6252)



More information about the asterisk-bugs mailing list