New Year Sale ! Hurry Up, Grab the Special Discount - Save 25% - Ends In 0d 9h 16m 14s Coupon code: SAVE25
Welcome to Pass4Success

- Free Preparation Discussions

Liferay Exam LRP-614 Topic 10 Question 66 Discussion

Actual exam question for Liferay's LRP-614 exam
Question #: 66
Topic #: 10
[All LRP-614 Questions]

The recommended way to escape text is:

Show Suggested Answer Hide Answer
Suggested Answer: B

Contribute your Thoughts:

Scarlet
5 months ago
I'm going with B) HtmlUtil.escape(). Sounds like the most robust and widely-used solution for escaping text.
upvoted 0 times
...
Cyndy
5 months ago
Haha, I bet the correct answer is F) GetterUtil.escape()! Just kidding, I think it's B) HtmlUtil.escape() - can't go wrong with the classics, right?
upvoted 0 times
Shannan
4 months ago
Definitely, HtmlUtil.escape() is the recommended way to escape text.
upvoted 0 times
...
Barney
4 months ago
I agree, HtmlUtil.escape() is a safe bet.
upvoted 0 times
...
Chandra
4 months ago
I think it's B) HtmlUtil.escape() - classic choice!
upvoted 0 times
...
...
Paris
5 months ago
I think DisplayUtil.escape() might be a good option too, as it sounds like it could be used for escaping text in a display context.
upvoted 0 times
...
Gary
5 months ago
E) FormUtil.escape() sounds like a good option, but I'm not 100% confident. Time to review my notes on web application security.
upvoted 0 times
...
Christene
5 months ago
Hmm, I'm not sure. I was leaning towards D) JSPUtil.escape(), but now I'm second-guessing myself. This is a tricky one.
upvoted 0 times
Kristal
4 months ago
I'm not sure either, but I'll go with E) FormUtil.escape()
upvoted 0 times
...
Ty
4 months ago
I'm going with C) DisplayUtil.escape()
upvoted 0 times
...
Josefa
4 months ago
I believe it's actually F) GetterUtil.escape()
upvoted 0 times
...
Dion
4 months ago
I think it might be A) StringUtil.escape()
upvoted 0 times
...
...
Levi
5 months ago
I'm not sure, but I think HtmlUtil.escape() could also be a good choice for escaping text.
upvoted 0 times
...
Vincenza
5 months ago
I think B) HtmlUtil.escape() is the correct answer. Escaping text is a crucial security measure to prevent XSS attacks.
upvoted 0 times
Gretchen
4 months ago
Always remember to properly escape user input to ensure security.
upvoted 0 times
...
Antonio
4 months ago
Yes, escaping text is important to prevent XSS attacks.
upvoted 0 times
...
Maryann
4 months ago
I agree, B) HtmlUtil.escape() is the correct answer.
upvoted 0 times
...
Staci
4 months ago
Always remember to properly escape user input to ensure security.
upvoted 0 times
...
Annett
4 months ago
Yes, escaping text is important to prevent XSS attacks.
upvoted 0 times
...
Juan
4 months ago
I agree, B) HtmlUtil.escape() is the correct answer.
upvoted 0 times
...
...
Rosamond
6 months ago
I agree with Valentin, StringUtil.escape() is the best option because it is specifically designed for escaping text.
upvoted 0 times
...
Valentin
6 months ago
I think the recommended way to escape text is StringUtil.escape().
upvoted 0 times
...

Save Cancel
a