-
Notifications
You must be signed in to change notification settings - Fork 62
Commit 6f54bbc
author
committedAndrey Glushkov
Add wrappers to
Block/unblock all untrusted operations:
```ruby
Vips.block_untrusted
Vips.block_untrusted(false)
```
Block/unblock specific operations hierarchy:
```ruby
Vips.block("VipsForeignLoad");
Vips.block("VipsForeignLoadJpeg", false)
```vips_block_untrusted_set and vips_operation_block_set methods1 parent cddd270 commit 6f54bbc
2 files changed
+25
-5
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
11 | 11 | | |
12 | 12 | | |
13 | 13 | | |
14 | + | ||
15 | + | ||
16 | + | ||
17 | + | ||
18 | + | ||
19 | + | ||
20 | + | ||
21 | + | ||
22 | + | ||
23 | + | ||
24 | + | ||
25 | + | ||
26 | + | ||
27 | + | ||
28 | + | ||
29 | + | ||
30 | + | ||
31 | + | ||
32 | + | ||
33 | + | ||
14 | 34 | | |
15 | 35 | | |
16 | 36 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
9 | 9 | | |
10 | 10 | | |
11 | 11 | | |
12 | - | ||
12 | + | ||
13 | 13 | | |
14 | 14 | | |
15 | 15 | | |
16 | - | ||
16 | + | ||
17 | 17 | | |
18 | 18 | | |
19 | 19 | | |
20 | 20 | | |
21 | 21 | | |
22 | 22 | | |
23 | 23 | | |
24 | - | ||
25 | - | ||
24 | + | ||
25 | + | ||
26 | 26 | | |
27 | 27 | | |
28 | 28 | | |
29 | 29 | | |
30 | - | ||
30 | + | ||
31 | 31 | | |
32 | 32 | | |
33 | 33 | | |
| |||
0 commit comments