uri scheme (aka protocol) length is too short for Facebook: Need to remove/raise current 39 character limit

Issue #7940100 • Assigned to Ali A.

Details

Created
Jun 20, 2016
Privacy
This issue is public.
Found in build #
14.14368
Reports
Reported by 1 person

Sign in to watch or report this issue.

Steps to reproduce

Current 39 character limit is forcing Facebook to have especial checks for their apps on Windows. Details in the attached thread.

 

Instagram wants to register as a handler for the following uri scheme (which is 61 characters):

fsq+kylm3gjcbtswk4rambrt4uyzq1dqcoc0n2hyjgcvbcbe54rj+post

 

A 3-39 character limit is documented here:

https://msdn.microsoft.com/en-us/library/windows/apps/xaml/br211458.aspx

 

Packaging an app with this listed as a Protocol Name will cause a failure during app installation:

Installing app…

Found dependency package(s):

C:\Users\osmeta\Desktop\Instagram\Dependencies\x86\Microsoft.VCLibs.x86.14.00.appx

Add-AppxPackage : Deployment failed with HRESULT: 0x80080204, The Appx package’s manifest is invalid.

error 0xC00CE169: App manifest validation error: The app manifest must be valid as per schema: Line 72, Column 19,

Reason: ‘fsq%2Bkylm3gjcbtswk4rambrt4uyzq1dqcoc0n2hyjgcvbcbe54rj%2Bpost’ violates maxLength constraint of '39’.

The attribute ‘Name’ with value ‘fsq%2Bkylm3gjcbtswk4rambrt4uyzq1dqcoc0n2hyjgcvbcbe54rj%2Bpost’ failed to parse.

Attachments

0 attachments

    Comments and activity

    • Microsoft Edge Team

      Changed Assigned To to “Rob T.”

      Changed Assigned To from “Rob T.” to “Rajat J.”

      Changed Title from “Protocol length for Facebook: Need to remove/raise current 39 character limit” to “uri scheme (aka protocol) length is too short for Facebook: Need to remove/raise current 39 character limit”

      Changed Assigned To from “Rajat J.” to “Ali A.”

    You need to sign in to your Microsoft account to add a comment.

    Sign in