MMAUG / flood-website

Web version of Myanmar Flood information
http://myanmarflood.info/
MIT License
7 stars 7 forks source link

Security ISSUS #26

Closed greenlikeorange closed 9 years ago

greenlikeorange commented 9 years ago

ကျွန်တော်တို့ API ကရော် Client မှာပါ html tags တွေကာရပါမယ်။ ကျွန်တော် အခု $.http ကနေဝင်လာသမျှ tags တွေအကုန်လုံးကို ဖြုတ်ထားပါတယ်။ ဘာလိုလဲဆိုတော့ Donation က showDetailBox မှာ html တွေကို ပြန်ကာထားတာမျိုး မထားထားပါဘူး ပြီးတော့ description တွေကိုလဲ ကျွန်တော်ကိုယ်တို့် v-html ကိုသုံးထားပါလို့ပါ။

ဒီထက်ပို်ကောင်းမဲ့ ဟာများရှိအုံးမလား?

@nyanlynnhtut @DragonVirus @dreamingblackcat

dreamingblackcat commented 9 years ago

Server side က Escape လုပ်ပေးရုံနဲ့ အဆင်မပြေဘူးလား။

greenlikeorange commented 9 years ago

I think it enough for now!