Mutiple items in CORS whitelist (v2.24)

Hi Devs

I’m testing API calls to a server from two different source locations (dev & staging instances) but i’m unable to load the correct values (under Access settings > CORS whitelist) for these calls to work from both locations.

What are the limitations for CORS whitelist items? I’ve tried using a URL separator (comma and semi-colon) but without success…

Kind Regards,

Greg

···

Health Information Systems Program - South Africa

**- - - - - - - ****- - - - - - - ****- - - - - - - ****- - - - - - - ****- - - - - **

Mobile : 073 246 2992
Landline: 021 851 2216

Skype: gregory_rowles

Hi Greg

I think you just need to click enter… it will give you a new line, and then enter the next URL…

···

On Thu, Sep 29, 2016 at 3:50 PM, Greg Rowles greg.rowles@gmail.com wrote:

Hi Devs

I’m testing API calls to a server from two different source locations (dev & staging instances) but i’m unable to load the correct values (under Access settings > CORS whitelist) for these calls to work from both locations.

What are the limitations for CORS whitelist items? I’ve tried using a URL separator (comma and semi-colon) but without success…

Kind Regards,

Health Information Systems Program - South Africa

**- - - - - - - ****- - - - - - - ****- - - - - - - ****- - - - - - - ****- - - - - **

Mobile : 073 246 2992
Landline: 021 851 2216

Skype: gregory_rowles

Greg


Mailing list: https://launchpad.net/~dhis2-devs

Post to : dhis2-devs@lists.launchpad.net

Unsubscribe : https://launchpad.net/~dhis2-devs

More help : https://help.launchpad.net/ListHelp

Morten Olav Hansen

Senior Engineer, DHIS 2

University of Oslo

http://www.dhis2.org

face palm…! Tx

···

On Thu, Sep 29, 2016 at 11:38 AM, Jan Henrik Øverland jan@dhis2.org wrote:

Hi Greg,

Put each location on a new line.

Jan

On 29 September 2016 at 10:50, Greg Rowles greg.rowles@gmail.com wrote:

Hi Devs

I’m testing API calls to a server from two different source locations (dev & staging instances) but i’m unable to load the correct values (under Access settings > CORS whitelist) for these calls to work from both locations.

What are the limitations for CORS whitelist items? I’ve tried using a URL separator (comma and semi-colon) but without success…

Kind Regards,

Health Information Systems Program - South Africa

**- - - - - - - ****- - - - - - - ****- - - - - - - ****- - - - - - - ****- - - - - **

Mobile : 073 246 2992
Landline: 021 851 2216

Skype: gregory_rowles

Greg


Mailing list: https://launchpad.net/~dhis2-devs

Post to : dhis2-devs@lists.launchpad.net

Unsubscribe : https://launchpad.net/~dhis2-devs

More help : https://help.launchpad.net/ListHelp


Jan Henrik Øverland

Software developer, DHIS 2

University of Oslo

http://www.dhis2.org

Health Information Systems Program - South Africa

**- - - - - - - ****- - - - - - - ****- - - - - - - ****- - - - - - - ****- - - - - **

Mobile : 073 246 2992
Landline: 021 851 2216

Skype: gregory_rowles