Closed selfsimilar closed 4 years ago
I restored PHP5.x compatibility by removing any CNAME validation. Validation is absent in the JavaScript API Client library, so I assume validation is unnecessary in this library as well.
Improved testing coverage by refactoring getCustomUrl
.
This patch primarily addresses the lack of custom CNAME support for urls that might get used in HTML templates populated by a server, so that client browsers will request resources via the custom CNAME.
This patch DOES NOT try convert all server-side requests to use the custom CNAME as we assume that the server running this API client will not have issues communicating with Filestack servers directly.