Skip to content
This repository has been archived by the owner on Apr 21, 2023. It is now read-only.

Move InstawebHandler initialization after validity checks. #1250

Closed
wants to merge 1 commit into from

Conversation

jeffkaufman
Copy link
Contributor

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

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
@oschaaf
Copy link
Member

oschaaf commented Jan 21, 2016

Makes sense, LGTM

@jeffkaufman
Copy link
Contributor Author

Merged as befa494

@jeffkaufman jeffkaufman deleted the jefftk-112686597 branch January 27, 2016 14:53
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants