You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
DevUI CORS - enable hostname dns reverse lookup use-case, relates to #29342 (comment)
Current hostname (rsvoboda-mac in my case) use-case behaviour:
Changing value using http://rsvoboda-mac:8080/api/q/dev/io.quarkus.quarkus-vertx-http/config triggers 2022-11-23 09:45:31,871 ERROR [io.qua.ver.htt.run.dev.DevConsoleCORSFilter] (vert.x-eventloop-thread-0) Only localhost origin is allowed, but Origin header value is: http://rsvoboda-mac:8080
traceroute rsvoboda-mac
traceroute to localhost (127.0.0.1), 64 hops max, 52 byte packets
1 localhost (127.0.0.1) 0.611 ms 0.050 ms 0.040 ms
Implementation ideas
We have DevUI specific CORS config group. We can add a property there, allow-dns-reverse-lookup, which, if set to true will allow us check if the current DNS name resolves to localhost.
This is not super urgent, maybe we can keep the issue around and see if people vote for this or not.
Description
DevUI CORS - enable hostname dns reverse lookup use-case, relates to #29342 (comment)
Current hostname (
rsvoboda-mac
in my case) use-case behaviour:Changing value using http://rsvoboda-mac:8080/api/q/dev/io.quarkus.quarkus-vertx-http/config triggers
2022-11-23 09:45:31,871 ERROR [io.qua.ver.htt.run.dev.DevConsoleCORSFilter] (vert.x-eventloop-thread-0) Only localhost origin is allowed, but Origin header value is: http://rsvoboda-mac:8080
Implementation ideas
We have DevUI specific CORS config group. We can add a property there,
allow-dns-reverse-lookup
, which, if set totrue
will allow us check if the current DNS name resolves tolocalhost
.This is not super urgent, maybe we can keep the issue around and see if people vote for this or not.
CC @sberyozkin, @cescoffier
The text was updated successfully, but these errors were encountered: