Links changing in code view after publish in a multisite environment

In a 9.00 SP2 staging environment with Site Cumulative Update 29 applied, absolute links to a production URL in a multisite's folder properties changed to corresponding staging URLs. For example: If the link was
prod.mytest.com/testing
, it changed to
stage.mytest.com:801/testing
when published.

NOTE: This only affects staging URLs that have a port number affixed.

As a result, when content was synched to production, the staging URL remained in the link, but it should have changed to the production URL.