CertyRush
Đang tải...
C CertyRush
Câu hỏi free preview

Câu 95: Salesforce Certified Platform Developer I

A developer has an Apex controller for a Visualforce page that takes an ID as a URL parameter. How should the developer prevent a cross site scripting vulnerability?

Nội dung câu hỏi

A developer has an Apex controller for a Visualforce page that takes an ID as a URL parameter. How should the developer prevent a cross site scripting vulnerability?

Các lựa chọn

Đáp án được giữ gọn theo nhãn A, B, C, D trong phần bình chọn tương tác.

  1. A. ApexPages.currentPage().getParameters().get('url_param')
  2. B. String.escapeSingleQuotes(ApexPages.currentPage().getParameters().get('url_param'))
  3. C. String.ValueOf(ApexPages.currentPage().getParameters().get('url_param'))
  4. D. ApexPages.currentPage().getParameters().get('url_param').escapeHtml4() — đáp án hiện tại

Cộng đồng

0 bình luận công khai. Tên thành viên được ẩn một phần.

Chưa có bình luận. Mở giao diện tương tác để bắt đầu thảo luận.

Câu hỏi liền kề