Difference between revisions of "WebFund 2016W Lecture 8"
Jump to navigation
Jump to search
(Added some notes. Not the greatest, somebody else should actually finish them.) |
(No difference)
|
Revision as of 16:30, 2 February 2016
Student Notes
Agenda
- Spoke/explained the solutions for assignment 2.
- Answered questions about the upcoming assignment 3.
Topics (from assignment 2 & 3)
- What does the regular expression on line 92 of tinywebserver.js do? (Answer: Prevents breaking out of the current directory by using .. and ~)
- What does path.normalize do? (Answer: Tries to fix a malformed path. e.g. /home//dave/ becomes /home/dave/)
- What is Jade? (Answer: Templating language.)