Skip to content

http_header component Access-Control-Allow-Origin parameter parsing error on SQL server #64

@f8dca

Description

@f8dca
select 'http_header' as component,
'https://cdn.jsdelivr.net' as Access-Control-Allow-Origin

select 'shell' as component,
'https://cdn.jsdelivr.net/npm/mermaid@10/dist/mermaid.esm.min.mjs' as javascript;
		5 as refresh;

select 
	'mermaid' as component,
	'graph TD  
	 Start --> Stop' as diagram_md

Sorry, but we were not able to process your request.

Error:

SQL syntax error before: Control - Allow - Origin select 'shell' as component , 'https://cdn.jsdelivr.net/npm/mermaid@10/dist/mermaid.esm.min.mjs' as javascript ; 5 as refresh ; select 'mermaid' as component , 'graph TD
Start --> Stop' as diagram_md ;

Caused by:
0: sql parser error: Expected an SQL statement, found: -
1: An error occurred during the preparation phase of the SQL

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions