[M120 Migration][VD] Fix url crash in RequestCertificateConfirm 87/308787/2
authorjingjieli <jingjie.li@samsung.com>
Mon, 1 Apr 2024 05:50:35 +0000 (13:50 +0800)
committerBot Blink <blinkbot@samsung.com>
Tue, 2 Apr 2024 00:02:04 +0000 (00:02 +0000)
commit8f449ca9d16f48888c6a1ecc61a66bef023f22eb
treeb24fb56d63aeb16516c6a8d69ee489c386a10aaf
parente3e7639b9e1ab34b8adc7aab59b4636395cdfb02
[M120 Migration][VD] Fix url crash in RequestCertificateConfirm

The url in RequestCertificateConfirm is get from SSLErrorHandler
in SSLManager::OnCertErrorInternal, and SSLErrorHandler will be
released in certificate error callback.
That means after EWebViewCallbacks::RequestCertificateConfirm,
url can not be used. So copy it before free.

Reference:
https://review.tizen.org/gerrit/#/c/291448/

Change-Id: I4de8a4aeb70b3525f83f92808e1fa2db07f31af9
Signed-off-by: jingjieli <jingjie.li@samsung.com>
tizen_src/ewk/efl_integration/web_contents_delegate_efl.cc