On clicking a button my visualforce page is supposed to redirect to the saveURL defined in my get parameters.
The saveURL is literally just the ID of an object (usually an account), here is the apex:
PageReference contactPage = new PageReference('/' + saveURL); contactPage.setRedirect(true); return contactPage;
It should be "https://na15.salesforce.com/saveURL". But instead it's "https://na15.salesforce.com/https://c.na15.salesforce.com/saleURL". How do I stop this?