- Issue created by @Juanjol
- πͺπΈSpain Juanjol Navarra
juanjol β changed the visibility of the branch 1.x to hidden.
- πͺπΈSpain Juanjol Navarra
juanjol β changed the visibility of the branch 3531237-false-positives-for to hidden.
- πͺπΈSpain Juanjol Navarra
juanjol β changed the visibility of the branch 3531237-false-positives-for to active.
- Merge request !36Issue #3531237: Added base_path control on broken links inspection β (Merged) created by Juanjol
- πͺπΈSpain Juanjol Navarra
I just realized I haven't added tests to the MR. I'm going to generate them and add them to the issue before it's reviewed.
- πͺπΈSpain Juanjol Navarra
juanjol β changed the visibility of the branch 3531237-false-positives-for to hidden.
- πͺπΈSpain lpeidro Madrid
Hello Juanjo,
Thank you for your contribution; it is really great.
However, I have some doubts regarding the point where you implemented the logic to remove the base path. Before checking the link with the "router.no_access_checks" service, we try to use other, more efficient methods to retrieve the link dataβfor example, by checking directly in the alias table.
Perhaps the correct place to remove the base path is when the path property is set in the Target object, specifically in the "processHrefAndSetComponents" method of the "Target" class.
This is just a question, as I am not sure what implications this change might have.
- πͺπΈSpain Juanjol Navarra
Hi lpeidro, I think the logic is in a much better place now, thanks for your suggestion! It's ready for another review.
- πͺπΈSpain lpeidro Madrid
I have made some code changes to inject the RequestStack service into the target object, following the coding standard. As a result, I also updated the unit tests.
- πͺπΈSpain Juanjol Navarra
I've tested the changes you made and everything is working as expected. I think this is ready to be set to RTBC
-
lpeidro β
committed f87be9fd on 1.x authored by
juanjol β
Issue #3531237: Added base_path control on broken links inspection
-
lpeidro β
committed f87be9fd on 1.x authored by
juanjol β
- Status changed to Fixed
2 days ago 5:29pm 27 August 2025 Automatically closed - issue fixed for 2 weeks with no activity.