Multiple trusted origins only differing in trailing slash

Is it a bug that I can add both

https://xxx.domain.com
and
https://xxx.domain.com/

?