This is to support ports in cors origin patterns. Closes gh-26926

Example:

https://*.example.com:[8080]
https://*.example.com:[8080,9000]
https://*.example.com:[*]

Comment From: korektur

@rstoyanchev sure, I can add some documentation on that.

Comment From: korektur

@rstoyanchev I've added some documentation, can you review please?