Permitted File Names in SharePoint 2010
Many times you might have a need to deploy files of various sorts to subfolders under the %ProgramFiles%\Common Files\Microsoft Shared\web server extensions\14\TEMPLATE directory. Well, here are the rules to name them in SharePoint 2010.
For security reasons, SharePoint 2010 will allow you to deploy files in the 14\TEMPLATE directory tree only if their names are composed of ASCII letters, numbers, periods, underscores, or dashes. In addition, file names cannot contain two or more consecutive periods. For example, the following are permitted file names:
AllItems.aspx
Dept_1234.doc
Long.Name.With.Dots.txt
The following are not permitted file names:
Cæsar.wav
File Name With Spaces.avi
Wow...ThisIsBad.rtf
揵.htm
So watch it before you go crazy with your deployment
For security reasons, SharePoint 2010 will allow you to deploy files in the 14\TEMPLATE directory tree only if their names are composed of ASCII letters, numbers, periods, underscores, or dashes. In addition, file names cannot contain two or more consecutive periods. For example, the following are permitted file names:
AllItems.aspx
Dept_1234.doc
Long.Name.With.Dots.txt
The following are not permitted file names:
Cæsar.wav
File Name With Spaces.avi
Wow...ThisIsBad.rtf
揵.htm
So watch it before you go crazy with your deployment
0 comments:
Post a Comment