Certainly! Let's translate this text into the Tunisian dialect, focusing on key differences from Modern Standard Arabic (MSA) and highlighting areas that align well with Tunisian.
-
Original Sentence: Why ban XSS instead of flagging it?
Tunisian Dialect: علاه نمنع XSS بدل ما نعملولو علامة؟
Differences: In Tunisian, "علاه" is used instead of the MSA "لماذا" to ask "why." The verb "نمنع" is similar to MSA but more commonly used in everyday conversation.
-
Original Sentence: Consider a browser that allows an XMLHttpRequest downloaded from foo.net to make requests to bar.net, but attaches a XHR-Origin: http://foo.net (or possibly a more descriptive value like http://foo.net/trustedapp.js).
Tunisian Dialect: فكّر في بروزار اللي يسمح ب XMLHttpRequest تتنزّل من foo.net تطلب طلبات ل bar.net، لكن تربط معاها XHR-Origin: http://foo.net (ولا قيمة أكثر وصف كيما http://foo.net/trustedapp.js).
Confident Translation: فكّر في بروزار...
Differences: "فكّر" is used for "consider" instead of the MSA "اعتبر." The word "بروزار" is a casual term for "browser," not used in MSA.
-
Original Sentence: The XHR couldn't touch that header and the server could set rules based on where the XHR-instantiating code comes from.
Tunisian Dialect: ال XHR ما تنجمش تبدّل في الheader هذا والسرڨر ينجم يحط قوانين حسب منين جاي الكود اللي بدا ال XHR.
Confident Translation: ال XHR ما تنجمش تبدّل...
Differences: "تنجم" is a common Tunisian term for "can" instead of the MSA "يستطيع." "سرڨر" is a borrowed term used for "server."
-
Original Sentence: Since the W3C's specification (albeit relaxed with CORS) is more extreme than this, what did they find wrong with this technique?
Tunisian Dialect: خاطر المواصفات متاع W3C (حتى كنها مخففة مع CORS) أكثر صرامة من هذا، شنوة لقاو غالط في التقنية هاذي؟
Confident Translation: شنوة لقاو غالط...
Differences: "شنوة" is used for "what" instead of the MSA "ما." The word "مواصفات" translates to "specifications" in both dialects, but the phrase structure is different.
-
Original Sentence: What vulnerabilities exist that truly require an XSS ban?
Tunisian Dialect: شنوة الثغرات اللي موجودة وتستحق منو نمنعو XSS؟
Confident Translation: شنوة الثغرات...
Differences: "الثغرات" is the same word in both dialects for "vulnerabilities," although context and structure vary.
-
Original Sentence: There are websites out there, that will not be updated as soon as the first browser supports your proposal.
Tunisian Dialect: فما مواقع غادي، اللي ما راحش تتحدّث وقت أوّل بروزار يساند الاقتراح متاعك.
Confident Translation: فما مواقع غادي...
Differences: "فما" is Tunisian for "there are" instead of the MSA "يوجد." "ما راحش تتحدّث" uses the Tunisian form of negation and future tense.
-
Original Sentence: Those sites will not check the XHR-Origin header and are therefore vulnerable.
Tunisian Dialect: المواقع هاذي ما باش تفحص ال XHR-Origin هيدار و تنجم تكون فيها ثغرات.
Confident Translation: المواقع هاذي ما باش...
Differences: "باش" indicates the future tense and negation in Tunisian, different from the standard Arabic forms.
-
Original Sentence: Vulnerability example
Tunisian Dialect: مثال على الثغرات
Differences: Direct translation without structural change, showing similarity in some technical language.
-
Original Sentence: Let assume you are logged in to your bank.
Tunisian Dialect: خلينا نتصور أنك مدخّل للبانك متاعك.
Confident Translation: خلينا نتصور...
Differences: "خلينا نتصور" is a Tunisian phrase for "Let's assume," different from MSA "دعونا نفترض."
-
Original Sentence: Without logging out, you visit another website.
Tunisian Dialect: بدون ما تخرج، تزور موقع آخر.
Confident Translation: بدون ما تخرج...
Differences: "تخرج" is the Tunisian term more commonly used in this context, while MSA uses "تسجيل الخروج."
-
Original Sentence: This website sends an XHR-request to your bank to request a JSON response, which is used in the account history view.
Tunisian Dialect: الموقع هذا يرسل طلب XHR للبنك متاعك باش يطلب JSON ردّ، واللي يستعملوها في عرض تاريخ الحساب.
Confident Translation: الموقع هذا يرسل طلب XHR...
Differences: "باش" again shows future tense and intent, unique to Tunisian.
-
Original Sentence: Yes, this request will have a XHR-Origin header, but if the bank software is not adjusted, it will reveal sensitive data.
Tunisian Dialect: إيه، الطلب هذا راح يكون فيه XHR-Origin هيدار، لكن إذا البرامج متاع البنك ما تتعدّلتش، راح تكشف معلومات حساسة.
Confident Translation: إيه، الطلب هذا راح...
Differences: "إيه" is informal Tunisian for "yes," differing from the MSA "نعم."
-
Original Sentence: So it is the responsibility of the browser not to break existing SOP restrictions.
Tunisian Dialect: لذا، مسؤولية البروزار هي أنه ما يكسرش القيود الموجودة متاع SOP.
Confident Translation: لذا، مسؤولية البروزار...
Differences: "ما يكسرش" uses Tunisian negation style, differing from standard MSA structure.
-
Original Sentence: Is CORS fully SOP compatible?
Tunisian Dialect: CORS متوافق تماماً مع SOP؟
Differences: Direct translation; technical terms are commonly shared between dialects.
-
Original Sentence: The CORS specification makes a number of exceptions for which the preflight check is not required.
Tunisian Dialect: المواصفات متاع CORS تعمل برشا استثناءات واللي ما تطلبش الفحص الأولي.
Confident Translation: المواصفات متاع CORS...
Differences: "برشا" is widely used in Tunisian for "many," distinct from MSA "عديد."
-
Original Sentence: Those are based on situations, in which the SOP was never enforced in the past (e.g., form submissions).
Tunisian Dialect: هذوم مبنيين على حالات، اللي ما عمر SOP ما كان مطبّق في الماضي (كيما إرسال الاستمارات).
Confident Translation: هذوم مبنيين على حالات...
Differences: "هذوم" demonstrates plural difference from MSA "هذه."
-
Original Sentence: The problem in the current draft is, that it is solely based on the Content-Type header, but web applications tend to ignore it.
Tunisian Dialect: المشكلة في المسودة الحالية هي، اللي تعتمد فقط على ال Content-Type هيدار، لكن التطبيقات الوب تتجاهلها.
Confident Translation: المشكلة في المسودة الحالية...
Differences: "المسودة الحالية" uses both dialect and some modern IT vocabulary interchangeably.
-
Original Sentence: There was a nice talk by Shreeraj Shah at Blackhat Europe 2012 on HTML5 Top 10 Threats: Stealth Attacks and Silent Exploits.
Tunisian Dialect: كان فما محاضرة مليحة بشريراج شاه في Blackhat أوروبا 2012 على Top 10 تهديدات HTML5: هجمات خفية واختراقات صامتة.
Confident Translation: كان فما محاضرة مليحة...
Differences: "كان فما" is Tunisian for "there was," showing temporal phrasing distinct from MSA.
This translation captures the essence and nuances of the Tunisian dialect while highlighting key differences and similarities with Modern Standard Arabic.