1modm / petereport

PeTeReport is an open-source application vulnerability reporting tool.
https://1modm.github.io/petereport/
BSD 3-Clause "New" or "Revised" License
449 stars 131 forks source link

Error generating PDF report when "Report title" contains a slash ("/") #75

Closed VictorNS69 closed 9 months ago

VictorNS69 commented 11 months ago

Hi!

I think I found a bug.

I created a Product, then a Report for that product. The internal ID I'm using is something like <string> + "/" + <letter>. For example, I used this title: web 2023 PEP: V123415/V.

The problem is that, I generated an empty report (with no findings). imagen When I tried to generate the PDF report, an error occurred.

2023-07-20_16-21

See that the "Report Title" field has a slash /.

2023-07-20_16-19

I tested the same project, updating the report title without the slash.

2023-07-20_16-16

But no error occurred, and the PDF generated properly (empty, without findings, as I expected).

I'm using the Docker installation on a Kali VM.

Regards, Víctor 😄

1modm commented 10 months ago

Added mayor enhancements and contributions. Try to update from the repository git pull and try again.

If using docker:

git pull
docker compose build --build-arg TARGETARCH=amd64
docker-compose up