https://bz.apache.org/bugzilla/show_bug.cgi?id=66388

--- Comment #2 from Réda Housni Alaoui <reda-ala...@hey.com> ---
Please note that the classloader involved in junit automatic tests (I suppose a
java native one) is able to retrieve the resource URI without any issue with
the space character:

> @Test
>  void test() throws URISyntaxException {
>         System.out.println(getClass()
>                         .getResource(
>                                         
> "/com/aqme/product/database/migration/sql/_443/V443_17_36495__some name.sql")
>                         .toURI());
>  }

produces:

> file:/home/rhousni/projects/center/core/common/target/classes/com/cos/center/database/migration/sql/_443/V443_17_36495__add_equipment_misc_and%20tag_in_inventory.sql

> Process finished with exit code 0

As you can see, the space has been replaced with '%20'

-- 
You are receiving this mail because:
You are the assignee for the bug.
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscr...@tomcat.apache.org
For additional commands, e-mail: dev-h...@tomcat.apache.org

Reply via email to