@@ -82,6 +82,14 @@ $graph:
82
82
If the `path` field is provided but the `location` field is not, an
83
83
implementation may assign the value of the `path` field to `location`,
84
84
then follow the rules above.
85
+
86
+ If the `location` contains [POSIX shell metacharacters](http://pubs.opengroup.org/onlinepubs/9699919799/utilities/V3_chap02.html#tag_18_02)
87
+ (`|`,`&`, `;`, `<`, `>`, `(`,`)`, `$`,`` ` ``, `\`, `"`, `'`,
88
+ `<space>`, `<tab>`, and `<newline>`) or characters
89
+ [not allowed](http://www.iana.org/assignments/idna-tables-6.3.0/idna-tables-6.3.0.xhtml)
90
+ for [Internationalized Domain Names for Applications](https://tools.ietf.org/html/rfc6452)
91
+ then implementations may terminate the process with a
92
+ `permanentFailure`.
85
93
jsonldPredicate :
86
94
_id : " @id"
87
95
_type : " @id"
@@ -98,6 +106,14 @@ $graph:
98
106
As a special case, if the `path` field is provided but the `location`
99
107
field is not, an implementation may assign the value of the `path`
100
108
field to `location`, and remove the `path` field.
109
+
110
+ If the `path` contains [POSIX shell metacharacters](http://pubs.opengroup.org/onlinepubs/9699919799/utilities/V3_chap02.html#tag_18_02)
111
+ (`|`,`&`, `;`, `<`, `>`, `(`,`)`, `$`,`` ` ``, `\`, `"`, `'`,
112
+ `<space>`, `<tab>`, and `<newline>`) or characters
113
+ [not allowed](http://www.iana.org/assignments/idna-tables-6.3.0/idna-tables-6.3.0.xhtml)
114
+ for [Internationalized Domain Names for Applications](https://tools.ietf.org/html/rfc6452)
115
+ then implementations may terminate the process with a
116
+ `permanentFailure`.
101
117
jsonldPredicate :
102
118
" _id " : " cwl:path"
103
119
" _type " : " @id"
@@ -239,6 +255,14 @@ $graph:
239
255
If the `path` field is provided but the `location` field is not, an
240
256
implementation may assign the value of the `path` field to `location`,
241
257
then follow the rules above.
258
+
259
+ If the `location` contains [POSIX shell metacharacters](http://pubs.opengroup.org/onlinepubs/9699919799/utilities/V3_chap02.html#tag_18_02)
260
+ (`|`,`&`, `;`, `<`, `>`, `(`,`)`, `$`,`` ` ``, `\`, `"`, `'`,
261
+ `<space>`, `<tab>`, and `<newline>`) or characters
262
+ [not allowed](http://www.iana.org/assignments/idna-tables-6.3.0/idna-tables-6.3.0.xhtml)
263
+ for [Internationalized Domain Names for Applications](https://tools.ietf.org/html/rfc6452)
264
+ then implementations may terminate the process with a
265
+ `permanentFailure`.
242
266
jsonldPredicate :
243
267
_id : " @id"
244
268
_type : " @id"
@@ -250,6 +274,14 @@ $graph:
250
274
must not be used in any other context. The command line tool being
251
275
executed must be able to to access the directory at `path` using the POSIX
252
276
`opendir(2)` syscall.
277
+
278
+ If the `path` contains [POSIX shell metacharacters](http://pubs.opengroup.org/onlinepubs/9699919799/utilities/V3_chap02.html#tag_18_02)
279
+ (`|`,`&`, `;`, `<`, `>`, `(`,`)`, `$`,`` ` ``, `\`, `"`, `'`,
280
+ `<space>`, `<tab>`, and `<newline>`) or characters
281
+ [not allowed](http://www.iana.org/assignments/idna-tables-6.3.0/idna-tables-6.3.0.xhtml)
282
+ for [Internationalized Domain Names for Applications](https://tools.ietf.org/html/rfc6452)
283
+ then implementations may terminate the process with a
284
+ `permanentFailure`.
253
285
jsonldPredicate :
254
286
_id : " cwl:path"
255
287
_type : " @id"
0 commit comments