xref: /aosp_15_r20/external/curl/docs/cmdline-opts/globoff.md (revision 6236dae45794135f37c4eb022389c904c8b0090d)
1*6236dae4SAndroid Build Coastguard Worker---
2*6236dae4SAndroid Build Coastguard Workerc: Copyright (C) Daniel Stenberg, <[email protected]>, et al.
3*6236dae4SAndroid Build Coastguard WorkerSPDX-License-Identifier: curl
4*6236dae4SAndroid Build Coastguard WorkerLong: globoff
5*6236dae4SAndroid Build Coastguard WorkerShort: g
6*6236dae4SAndroid Build Coastguard WorkerHelp: Disable URL globbing with {} and []
7*6236dae4SAndroid Build Coastguard WorkerCategory: curl
8*6236dae4SAndroid Build Coastguard WorkerAdded: 7.6
9*6236dae4SAndroid Build Coastguard WorkerMulti: boolean
10*6236dae4SAndroid Build Coastguard WorkerSee-also:
11*6236dae4SAndroid Build Coastguard Worker  - config
12*6236dae4SAndroid Build Coastguard Worker  - disable
13*6236dae4SAndroid Build Coastguard WorkerExample:
14*6236dae4SAndroid Build Coastguard Worker  - -g "https://example.com/{[]}}}}"
15*6236dae4SAndroid Build Coastguard Worker---
16*6236dae4SAndroid Build Coastguard Worker
17*6236dae4SAndroid Build Coastguard Worker# `--globoff`
18*6236dae4SAndroid Build Coastguard Worker
19*6236dae4SAndroid Build Coastguard WorkerSwitch off the URL globbing function. When you set this option, you can
20*6236dae4SAndroid Build Coastguard Workerspecify URLs that contain the letters {}[] without having curl itself
21*6236dae4SAndroid Build Coastguard Workerinterpret them. Note that these letters are not normal legal URL contents but
22*6236dae4SAndroid Build Coastguard Workerthey should be encoded according to the URI standard.
23