Travis;
This just tripped a SECURITY ALERT in my app during a movie scrape!
Record: 313022 Trailer Path: Path: http://www.youtube.com/watch?v=
Html code in a database record??? Not good.
Please comment.
Joe
Bir filmi veya diziyi bulamıyor musun? Eklemek için oturum aç.
Bu öğeyi derecelendirmek veya bir listeye eklemek ister misiniz?
Üye değil misin?
Joe Rose adlı kullanıcıyı yanıtla
8 " 2015 tarihinde saat 9:32 ÖS'da
Travis;
Sure enough! It executed in this post!
Travis Bell adlı kullanıcıyı yanıtla
8 " 2015 tarihinde saat 11:29 ÖS'da
Hi Joe,
I don't believe there's any sanitization on the video field. I've created a new ticket for this here. It's very much related to ticket #887, so I'll do them both at the same time.
LordMike adlı kullanıcıyı yanıtla
15 " 2015 tarihinde saat 5:04 ÖS'da
Uh .. just for the record. It is perfectly fine to have HTML or any other form of "code" or "markup" in the database. In fact - it should stay in that format.
It is YOUR job as a consumer to sanitize/encode values when presenting them, because only YOU know which format they should go in. (As an example, for HTML, there are different encodings depending on if you want some text in the body, attributes, javascript or css).
Mike