You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: packages/gatsby-source-filesystem/README.md
+2
Original file line number
Diff line number
Diff line change
@@ -162,6 +162,8 @@ When building source plugins for remote data sources such as headless CMSs, thei
162
162
163
163
The `createRemoteFileNode` helper makes it easy to download remote files and add them to your site's GraphQL schema.
164
164
165
+
While downloading the assets, special characters (regex: `/:|\/|\*|\?|"|<|>|\||\\/g`) in filenames are replaced with a hyphen "-". When special characters are found a file hash is added to keep files unique e.g `a:file.jpg` becomes `a-file-73hd.jpg` (as otherwise `a:file.jpg` and `a*file.jpg` would overwrite themselves).
0 commit comments