CoursePress Pro, Virtual Pages & HTTPS

After installing a SSL certificate to bealliam.org.au I discovered that the Virtual Pages were not displaying, instead ther were returning a 404 Page Not Found error.

I investigated and found a number of other support threads where this issue had been raised but no solution was available in any of these threads:

https://premium.wpmudev.org/forums/topic/virtual-pages-for-coursepress-are-not-showing-up
https://premium.wpmudev.org/forums/topic/when-using-https-prefix-in-the-address-virtual-pages-are-not-working
https://premium.wpmudev.org/forums/topic/coursepress-pro-is-not-working

I did a quick investigation and have been able to find the issue. In coursepress/coursepress.php line 5296 needs to be changed as follows:

$full_url = "http://$_SERVER[HTTP_HOST]$_SERVER[REQUEST_URI]";

Change to:

$full_url = ( is_ssl() ) ? "https://$_SERVER[HTTP_HOST]$_SERVER[REQUEST_URI]" : "http://$_SERVER[HTTP_HOST]$_SERVER[REQUEST_URI]";

Could you please look to implement this change in the next release? Thank you.