2013-10-05 UTC
warden, npdoty, shaners, melvster, barneybook, caseorganic, jernst, wardn_, catsup, barneybook|2, gjones, joshr___, eschnou, LauraJ, lmjabreu and jschweinsberg joined the channel
andreypopp, barneybook|2, cweiske, squeakytoy, wardn_, gjones, jschweinsberg, barnabywalters, LauraJ, Lorn_, bnvk, benwerd, poppy and npdoty joined the channel
# 16:54 barnabywalters if secure is ever set to false an exception will be raised and skip to line 79
caseorganic and raik joined the channel
caseorganic joined the channel
# 17:09 aaronpk I think I added the exception recently to better show an error, rather than just silently failing
# 17:18 barnabywalters aaronpk: the redirect following algorithm in load_page is only used for determining what page to fetch to parse for rel-me links and whether or not that page is secure, *not* for determining the final rel-me URL used to authenticate the user, right?
# 17:21 aaronpk correct. actually the rel-me URL used to authenticate the user is always whatever they entered in the form
# 17:22 aaronpk I believe a trailing slash is required, because an empty path component of a URI implies the slash
tilgovi_ and caseorganic joined the channel
jschweinsberg joined the channel
wardn_ joined the channel
# 17:54 barnabywalters later on I’ll try to write a basic test suite and try to get a PHP implementation of rel verification working
# 17:56 barnabywalters the bit I’ve found most difficult to understand is the fact that redirected URL resolution is *slightly* different for going from a rel-me-url to final rel-me url, and going from a profile-url to final-profile URL
# 17:56 barnabywalters as the second one has the “is the redirect insecure but the rest of it matches” step
# 17:57 barnabywalters it’s just that for the second case, indieauth only warns the user if no URLs succeeded
# 18:01 barnabywalters if no rel-me backlinks matched AND one of the links was an insecure redirect but otherwise matched, then let the user know how to fix it
# 18:02 barnabywalters argh, that while loop’s in a block. what’s the scope of a return statement within a block?
jernst joined the channel
# 18:06 aaronpk just how blocks work. the multiple return values is really just returning an array
# 18:07 aaronpk return 1,2 returns [1,2], and it just so happens that you can assign [foo,bar] = [1,2]
caseorganic joined the channel
# 18:24 aaronpk this is kind of why I want to have a test suite, so I can rewrite this code to clean it up :)
eschnou, LauraJ, npdoty, caseorganic, spinnerin, scor and wardn_ joined the channel
josephboyle, caseorganic, poppy, wardn_, andreypopp and andreypopp_ joined the channel