{"record":{"id":"95c3e34f16649e9c","repo":"sqlmapproject/sqlmap","slug":"invalid-internationalized-hostname-r","errorCode":null,"errorMessage":"invalid internationalized hostname %r","messagePattern":"invalid internationalized hostname %r","errorType":"exception","errorClass":"H2Error","httpStatus":null,"severity":"error","filePath":"lib/request/http2.py","lineNumber":575,"sourceCode":"        try:\n            host = host.decode(\"ascii\")\n        except UnicodeDecodeError:\n            try:\n                host = host.decode(\"utf-8\")\n            except UnicodeDecodeError:\n                raise H2Error(\"hostname bytes are neither ASCII nor UTF-8\")\n    if not isinstance(host, text_type):\n        host = text_type(host)\n    if host.startswith(\"[\") and host.endswith(\"]\"):\n        host = host[1:-1]\n    if not host:\n        raise H2Error(\"hostname is required\")\n    if \":\" in host:  # IPv6 literal, optionally with a zone identifier\n        return host\n    try:\n        return host.encode(\"idna\").decode(\"ascii\")\n    except (UnicodeError, AttributeError):\n        raise H2Error(\"invalid internationalized hostname %r\" % host)\n\n\ndef _format_authority_host(host):\n    host = _idna_host(host)\n    if \":\" in host:\n        return \"[%s]\" % host\n    return host\n\n\ndef _authority_for_host(host, port):\n    authority = _format_authority_host(host)\n    if port != 443:\n        authority += \":%d\" % port\n    return authority\n\n\ndef _connect_socket(host, port, proxy, timeout):\n    if not proxy:","sourceCodeStart":557,"sourceCodeEnd":593,"githubUrl":"https://github.com/sqlmapproject/sqlmap/blob/0a35b20e3953d341be6c7ac75ccb0b3362540c8d/lib/request/http2.py#L557-L593","documentation":"Error \"invalid internationalized hostname %r\" thrown in sqlmapproject/sqlmap.","triggerScenarios":"Thrown at lib/request/http2.py:575 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"}