@@ -0,0 +1,1209 @@
+package io.quarkus.vertx.http.devconsole;%0A%0Aimport org.hamcrest.Matchers;%0Aimport org.junit.jupiter.api.Test;%0Aimport org.junit.jupiter.api.extension.RegisterExtension;%0A%0Aimport io.quarkus.test.QuarkusDevModeTest;%0Aimport io.restassured.RestAssured;%0A%0A/**%0A * Tests that a system property such as %7B@code %25.intellij.command.histfile.%22%7D%0A * doesn't lead to an exception because %7B@code %22%7D is incorrectly seen as a quoted property.%0A * %3Cp%3E%0A * Originally the bug stemmed from an environment property %7B@code __INTELLIJ_COMMAND_HISTFILE__%7D%0A * which was (weirdly) interpreted as %7B@code %25.intellij.command.histfile.%22%7D,%0A * but it's much easier to test system properties (which are mutable)%0A * than environment properties.%0A */%0Apublic class DevConsoleConfigMisinterpretedDoubleUnderscoreTest %7B%0A%0A    @RegisterExtension%0A    static final QuarkusDevModeTest config = new QuarkusDevModeTest()%0A            .setBuildSystemProperty(%22%25.intellij.command.histfile.%5C%22%22, %22foo%22)%0A            .withEmptyApplication();%0A%0A    @Test%0A    public void testNoFailure() %7B%0A        RestAssured.get(%22q/dev/io.quarkus.quarkus-vertx-http/config%22)%0A                .then()%0A                .statusCode(200).body(Matchers.containsString(%22Config Editor%22));%0A    %7D%0A%7D%0A

Test properties containing a double-quote alone with q/dev/io.quarkus.quarkus-vertx-http/config