File tree Expand file tree Collapse file tree 2 files changed +10
-6
lines changed Expand file tree Collapse file tree 2 files changed +10
-6
lines changed Original file line number Diff line number Diff line change @@ -95,6 +95,10 @@ <h1 class="font-serif font-bold text-cloudbank text-3xl">
95
95
> GitHub org</ a
96
96
> .
97
97
</ p >
98
+ < p class ="block rounded-lg bg-light-cloudbank text-lightest-wash p-4 ">
99
+ < strong class ="!text-white "> T-strings sprint</ strong > @ PyCon!< br />
100
+ Monday, May 19, Room 309, 9AM
101
+ </ p >
98
102
< p > Visit again soon for < i > much</ i > more.</ p >
99
103
< p > Please say hello! The < strong > t-strings team</ strong > is:</ p >
100
104
< ul class ="text-sm font-sans list-disc list-inside team space-y-1 mx-4 ">
Original file line number Diff line number Diff line change @@ -187,9 +187,9 @@ <h1 class="font-serif font-bold text-cloudbank text-3xl">
187
187
< pre > < code class ="language-python "> from some_db_library import execute
188
188
189
189
def get_student(name: str):
190
- return execute(
191
- f"SELECT * FROM students WHERE name = '{name}'"
192
- )
190
+ return execute(
191
+ f"SELECT * FROM students WHERE name = '{name}'"
192
+ )
193
193
194
194
get_student("Robert'); DROP TABLE students;--") # ☠️ ☠️ ☠️
195
195
</ code > </ pre >
@@ -204,9 +204,9 @@ <h1 class="font-serif font-bold text-cloudbank text-3xl">
204
204
< pre > < code class ="language-python "> from some_db_library import execute_t
205
205
206
206
def get_student(name: str):
207
- return execute_t(
208
- t"SELECT * FROM students WHERE name = '{name}'"
209
- )
207
+ return execute_t(
208
+ t"SELECT * FROM students WHERE name = '{name}'"
209
+ )
210
210
211
211
get_student("Robert'); DROP TABLE students;--") # 🎉 🦄 👍
212
212
</ code > </ pre >
You can’t perform that action at this time.
0 commit comments