sasjs / adapter

An adapter for bidirectional SAS® <-> Javascript communication
https://adapter.sasjs.io
MIT License
39 stars 3 forks source link

If the server url contains `.do` on SAS9` it gets stripped #786

Closed medjedovicm closed 1 year ago

medjedovicm commented 1 year ago

sas.domain.com - will get broken by the replace() function.

Example

sasomain.com

https://github.com/sasjs/adapter/blob/60d3ff2d3904c721446cb442f96528ad7c9c159e/src/auth/AuthManager.ts#L242
https://github.com/sasjs/adapter/blob/60d3ff2d3904c721446cb442f96528ad7c9c159e/src/auth/AuthManager.ts#L351

allanbowe commented 1 year ago

For reference, this should be explicitly for serverType "SAS9" (as not relevant for "SASJS")