Skip to content

Space in report path on report goal #274

@dvargas46

Description

@dvargas46

Describe the bug
Reference issue from allure2: allure-framework/allure2#1271
To summarize, when using the report goal for a directory that has a space somewhere in the full path, the whole path gets recreated at the current directory with a " directory between. I have discussed why this is happening in the issue ref with a potential fix.

i.e. running mvn allure:report with defaults in a directory like /project workspace/ would produce a report path of /project workspace/"/project workspace/target/site/allure-maven-plugin"/

Expected behavior
Report goal handles spaces in the path for generating the report

Additional context
I've laid out a potential solution in the original issue ref -- changing the "handleQuotes" bool from true to false here resolved the issue when testing locally with unix-like and Windows OS's using the main report versions.
I can PR this fix. Let me know if that might cause anything else to break, but I can rerun the int tests too just in case.

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