Urlreferrer With Https

Hi

Should urlreferrer return null if a HTTPS page is being viewed? I have a small function for changing over a language on my site. This uses the urlReferrer to redirect back to the same page. Except since I changed a couple of pages over to HTTPS, now it calls the controller/action and doesn’t redirect any more.

Thanks

Jonathon