Deal of The Day! Hurry Up, Grab the Special Discount - Save 25%
- Ends In
00:00:00
Coupon code:
SAVE25
X
Welcome to Pass4Success
Login
|
Sign up
-
Free
Preparation Discussions
Mail Us
support@pass4success.com
Location
US
MENU
Home
Popular vendors
Salesforce
Microsoft
Nutanix
Cisco
Amazon
Google
CompTIA
SAP
VMware
Fortinet
PeopleCert
Eccouncil
HP
Palo Alto Networks
Adobe
ServiceNow
Dell EMC
CheckPoint
Linux Foundation
Discount Deals
New
About
Contact
Login
Sign up
Home
Discussions
Liferay Discussions
Exam LRP-614 Topic 10 Question 66 Discussion
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:
A
StringUtil.escape()
B
HtmlUtiI.escape()
C
DisplayUtil.escape()
D
JSPUtil.escape()
E
FormUtil.escape()
F
GetterUtil.escape()
Show Suggested Answer
Hide Answer
Suggested Answer:
B
by
Mozell
at
Jul 06, 2024, 03:31 AM
Limited Time Offer
25%
Off
Get Premium LRP-614 Questions as Interactive Web-Based Practice Test or PDF
Contribute your Thoughts:
Submit
Cancel
Scarlet
16 days ago
I'm going with B) HtmlUtil.escape(). Sounds like the most robust and widely-used solution for escaping text.
upvoted
0
times
...
Cyndy
17 days 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
Barney
7 days ago
I agree, HtmlUtil.escape() is a safe bet.
upvoted
0
times
...
Chandra
9 days ago
I think it's B) HtmlUtil.escape() - classic choice!
upvoted
0
times
...
...
Paris
24 days 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
28 days 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
29 days 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
Josefa
4 days ago
I believe it's actually F) GetterUtil.escape()
upvoted
0
times
...
Dion
13 days ago
I think it might be A) StringUtil.escape()
upvoted
0
times
...
...
Levi
1 months ago
I'm not sure, but I think HtmlUtil.escape() could also be a good choice for escaping text.
upvoted
0
times
...
Vincenza
1 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
Juan
13 days ago
I agree, B) HtmlUtil.escape() is the correct answer.
upvoted
0
times
...
...
Rosamond
1 months ago
I agree with Valentin, StringUtil.escape() is the best option because it is specifically designed for escaping text.
upvoted
0
times
...
Valentin
2 months ago
I think the recommended way to escape text is StringUtil.escape().
upvoted
0
times
...
Log in to Pass4Success
×
Sign in:
Forgot my password
Log in
Report Comment
×
Is the comment made by
USERNAME
spam or abusive?
Commenting
×
In order to participate in the comments you need to be logged-in.
You can
sign-up
or
login
Save
Cancel
Scarlet
16 days agoCyndy
17 days agoBarney
7 days agoChandra
9 days agoParis
24 days agoGary
28 days agoChristene
29 days agoJosefa
4 days agoDion
13 days agoLevi
1 months agoVincenza
1 months agoJuan
13 days agoRosamond
1 months agoValentin
2 months ago