{"record":{"id":"7a8616c79930ea64","repo":"sqlmapproject/sqlmap","slug":"copy-pasting-illegal-non-console-comma-chara","errorCode":null,"errorMessage":"[!] copy-pasting illegal (non-console) comma characters from Internet is illegal (%s)","messagePattern":"\\[!\\] copy-pasting illegal \\(non-console\\) comma characters from Internet is illegal \\((.+?)\\)","errorType":"console","errorClass":"SystemExit","httpStatus":null,"severity":"error","filePath":"lib/parse/cmdline.py","lineNumber":1118,"sourceCode":"            # Reference: https://en.wiktionary.org/wiki/-\n            argv[i] = re.sub(u\"\\\\A(\\u2010|\\u2013|\\u2212|\\u2014|\\u4e00|\\u1680|\\uFE63|\\uFF0D)+\", lambda match: '-' * len(match.group(0)), argv[i])\n\n            # Reference: https://unicode-table.com/en/sets/quotation-marks/\n            argv[i] = argv[i].strip(u\"\\u00AB\\u2039\\u00BB\\u203A\\u201E\\u201C\\u201F\\u201D\\u2019\\u275D\\u275E\\u276E\\u276F\\u2E42\\u301D\\u301E\\u301F\\uFF02\\u201A\\u2018\\u201B\\u275B\\u275C\")\n\n            if argv[i] == \"-hh\":\n                argv[i] = \"-h\"\n            elif i == 1 and re.search(r\"\\A(http|www\\.|\\w[\\w.-]+\\.\\w{2,})\", argv[i]) is not None:\n                argv[i] = \"--url=%s\" % argv[i]\n            elif len(argv[i]) > 1 and all(ord(_) in xrange(0x2018, 0x2020) for _ in ((argv[i].split('=', 1)[-1].strip() or ' ')[0], argv[i][-1])):\n                dataToStdout(\"[!] copy-pasting illegal (non-console) quote characters from Internet is illegal (%s)\\n\" % argv[i])\n                raise SystemExit\n            elif len(argv[i]) > 1 and u\"\\uff0c\" in argv[i].split('=', 1)[-1]:\n                dataToStdout(\"[!] copy-pasting illegal (non-console) comma characters from Internet is illegal (%s)\\n\" % argv[i])\n                raise SystemExit\n            elif re.search(r\"\\A-\\w=.+\", argv[i]):\n                dataToStdout(\"[!] potentially miswritten (illegal '=') short option detected ('%s')\\n\" % argv[i])\n                raise SystemExit\n            elif re.search(r\"\\A-\\w{3,}\", argv[i]):\n                if argv[i].strip('-').split('=')[0] in (longOptions | longSwitches):\n                    argv[i] = \"-%s\" % argv[i]\n            elif argv[i] in IGNORED_OPTIONS:\n                argv[i] = \"\"\n            elif argv[i] in DEPRECATED_OPTIONS:\n                argv[i] = \"\"\n            elif argv[i] in (\"-s\", \"--silent\"):\n                if i + 1 < len(argv) and argv[i + 1].startswith('-') or i + 1 == len(argv):\n                    argv[i] = \"\"\n                    conf.verbose = 0\n            elif argv[i].startswith(\"--data-raw\"):\n                argv[i] = argv[i].replace(\"--data-raw\", \"--data\", 1)\n            elif argv[i].startswith(\"--auth-creds\"):\n                argv[i] = argv[i].replace(\"--auth-creds\", \"--auth-cred\", 1)\n            elif argv[i].startswith(\"--drop-cookie\"):\n                argv[i] = argv[i].replace(\"--drop-cookie\", \"--drop-set-cookie\", 1)\n            elif re.search(r\"\\A--tamper[^=\\s]\", argv[i]):","sourceCodeStart":1100,"sourceCodeEnd":1136,"githubUrl":"https://github.com/sqlmapproject/sqlmap/blob/0a35b20e3953d341be6c7ac75ccb0b3362540c8d/lib/parse/cmdline.py#L1100-L1136","documentation":"Error \"[!] copy-pasting illegal (non-console) comma characters from Internet is illegal (%s)\" thrown in sqlmapproject/sqlmap.","triggerScenarios":"Thrown at lib/parse/cmdline.py:1118 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"}