{"record":{"id":"df0601ebab8e3340","repo":"sqlmapproject/sqlmap","slug":"option-cookie-del-should-contain-a-single-char","errorCode":null,"errorMessage":"option '--cookie-del' should contain a single character (e.g. ';')","messagePattern":"option '--cookie-del' should contain a single character \\(e\\.g\\. ';'\\)","errorType":"validation","errorClass":"SqlmapSyntaxException","httpStatus":null,"severity":"error","filePath":"lib/core/option.py","lineNumber":2946,"sourceCode":"\n    if conf.retryOn:\n        try:\n            re.compile(conf.retryOn)\n        except Exception as ex:\n            errMsg = \"invalid regular expression '%s' ('%s')\" % (conf.retryOn, getSafeExString(ex))\n            raise SqlmapSyntaxException(errMsg)\n\n        if conf.retries == defaults.retries:\n            conf.retries = 5 * conf.retries\n\n            warnMsg = \"increasing default value for \"\n            warnMsg += \"option '--retries' to %d because \" % conf.retries\n            warnMsg += \"option '--retry-on' was provided\"\n            logger.warning(warnMsg)\n\n    if conf.cookieDel and len(conf.cookieDel) != 1:\n        errMsg = \"option '--cookie-del' should contain a single character (e.g. ';')\"\n        raise SqlmapSyntaxException(errMsg)\n\n    if conf.crawlExclude:\n        try:\n            re.compile(conf.crawlExclude)\n        except Exception as ex:\n            errMsg = \"invalid regular expression '%s' ('%s')\" % (conf.crawlExclude, getSafeExString(ex))\n            raise SqlmapSyntaxException(errMsg)\n\n    if conf.scope:\n        try:\n            re.compile(conf.scope)\n        except Exception as ex:\n            errMsg = \"invalid regular expression '%s' ('%s')\" % (conf.scope, getSafeExString(ex))\n            raise SqlmapSyntaxException(errMsg)\n\n    if conf.dumpTable and conf.dumpAll:\n        errMsg = \"switch '--dump' is incompatible with switch '--dump-all'\"\n        raise SqlmapSyntaxException(errMsg)","sourceCodeStart":2928,"sourceCodeEnd":2964,"githubUrl":"https://github.com/sqlmapproject/sqlmap/blob/0a35b20e3953d341be6c7ac75ccb0b3362540c8d/lib/core/option.py#L2928-L2964","documentation":"Error \"option '--cookie-del' should contain a single character (e.g. ';')\" thrown in sqlmapproject/sqlmap.","triggerScenarios":"Thrown at lib/core/option.py:2946 when the library encounters an invalid state.","commonSituations":"See trigger scenarios.","solutions":[],"exampleFix":null,"handlingStrategy":null,"validationCode":null,"typeGuard":null,"tryCatchPattern":null,"preventionTips":[],"tags":[],"backgroundTag":null,"analyzedSha":"0a35b20e3953d341be6c7ac75ccb0b3362540c8d","analyzedAt":"2026-08-26T23:02:52.002Z","schemaVersion":2},"datasetVersion":"2026-08-27T03:17:27.898Z"}