function readOnly(count){ }
Starting November 20, the site will be set to read-only. On December 4, 2023,
forum discussions will move to the Trailblazer Community.
+ Start a Discussion
jucuzoglujucuzoglu 

Remote Access: Callback URL field not allowing hyphens in protocol

When going to Setup->Develop->Remote Access

 

The Callback URL field will not allow me to store a URL whose protocol contains a hyphen. If I attempt to do this it produces an error and does not validate.

 

I discussed the issue briefly with a mobile developer from Salesforce at Dreamforce and he confirmed it sounded like a bug. I'd love to be able to use a hyphen in the protocol so that I can call files directly in my Chrome Extensions which will be really handy when authenticating via REST. Chrome requires a URL of chrome-extension://(ID of the Extension)/(Path to file). If I enter the URL without the hyphen it works fine and saves properly. With the hyphen I get the error message that the URL needs to be valid.

 

 

 

 

Best Answer chosen by Admin (Salesforce Developers) 
chuckmortimorechuckmortimore

To get us more conformant with URI Scheme RFCs, we've added support for "+" "." and "-" in our Winter 12 release.   So...should be fixed for you by mid-Oct.   Sorry about that!