[
https://issues.apache.org/jira/browse/IOTDB-531?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17094568#comment-17094568
]
Xiangdong Huang commented on IOTDB-531:
---------------------------------------
Well,
The bug is caused by an incorrect regular expression for the URL.
I find the master branch has fixed this issue:
with a quite relaxed pattern: Pattern.compile("([^:]+):([0-9]\{1,5})/?"); (the
prefix of "jdbc:iotdb" is validated before calling this pattern.)
It works.
Another way is use a more strict pattern:
^(jdbc:iotdb)://[-a-zA-Z0-9+&@#/%?=~_|!:,.;]*[-a-zA-Z0-9+&@#/%=~_|]
How do you think? Is there any security if we use a relaxed pattern?
> iotdb-grafana does not take domain as host
> ------------------------------------------
>
> Key: IOTDB-531
> URL: https://issues.apache.org/jira/browse/IOTDB-531
> Project: Apache IoTDB
> Issue Type: Bug
> Components: Connectors/Grafana
> Reporter: Julian Feinauer
> Priority: Critical
> Attachments: image-2020-04-28-22-27-42-544.png
>
>
> When customizing the application.properties for iotdb-grafana it needs an ip
> + port as it does not work withn domain + port.
--
This message was sent by Atlassian Jira
(v8.3.4#803005)