This repository has been archived by the owner on Apr 21, 2023. It is now read-only.
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Browse the repository at this point in the history
Move InstawebHandler initialization after validity checks.
Creating an instaweb handler will run MakeRequestUrl, which assumes that request->unparsed_uri is non-null. So move the creation to after where we check that it's non-null. To be safe, move it all the way down to where it's first needed, in case some other validity checks end up being relevant. Fixes #1248
- Loading branch information
Showing 3 changed files with 14 additions and 3 deletions.