Skip to content

Conversation

@spyhunter99
Copy link
Contributor

No description provided.

arturobernalg and others added 2 commits August 11, 2023 08:22
This commit addresses an issue in the ParamTag class where, if the parent tag was not an instance of ParamHandler, an infinite loop would occur. This was due to the 'getParent()' method always returning the same object.

The fix involves getting the parent of the current tag in the loop, thereby ensuring that we keep moving up the tree until we find a parent that is a ParamHandler or until we run out of parents. This prevents the possibility of an infinite loop and provides a more robust handling of the tag structure.
# Conflicts:
#	jspwiki-main/src/main/java/org/apache/wiki/tags/ParamTag.java
@spyhunter99 spyhunter99 marked this pull request as draft November 13, 2025 15:17
@spyhunter99 spyhunter99 marked this pull request as ready for review November 13, 2025 17:57
@spyhunter99 spyhunter99 merged commit f72f05d into apache:master Nov 13, 2025
18 of 19 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants