Skip to content

Testsuite names are not properly sanitised if not in t/ folder #13

@LordAro

Description

@LordAro

Spotted while looking through the code. Needs to be a bit more general, I think?

Doesn't actually affect anything due to the following _clean_to_java_class_name call, but may produce unexpected results

sub _get_testsuite_name {
my $self = shift;
my $name = $self->name;
$name =~ s{^\./}{};
$name =~ s{^t/}{};
return _clean_to_java_class_name($name);
}

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions