#LoqiCORS is an acronym for "cross-origin resource sharing," a mechanism for allowing browsers to make JavaScript requests to fetch resources from other domains https://indiewebcamp.com/CORS
#tantekboth YouTube and Vimeo redirect to https. Youtube has a "http:" rel-canonical, while Vimeo has "/" relative rel-canonical (thus implied "https:" canonical by the redirect)
#tantekI'm considering always upgrading http: youtube and vimeo links to https: links (and embeds when requested) in CASSIS auto_link
#myfreewebconsider always upgrading links that match the HTTPS Everywhere rulesets
#pfefferleGWG will run some tests with the email plugin
#pfefferleGWG perhaps there are some strange race conditions
#GWGpfefferle: There are two ways for it to be better. Either Semantic Linkbacks permanently changes the comment_text instead of using a filter or uses the notification_text filter to edit the notification output
#GWGThe notification functiosn use the raw comment_text without a filter
#pfefferleGWG but this can't be the problem, because the comment-text is never completly empty
#GWGpfefferle: The other plugin was blanking it out.
#GWGpfefferle: My position is that there isn't a problem that wasn't there before.
#GWGThe comment notification email was messed up before the change, and is still messed up after the change, but at least now the comment author shows correctly, which is useful.
#pfefferleGWG agreed, the email text shouldn't be completely empty, so I think this might be a bug in the email plugin
#GWGpfefferle: When he turned it off, he got the comment I got in testing.
#GWGpfefferle: Maybe I should write a simple plugin called Better Semantic Linkbacks Notification Emails that uses the prettified versions. Not sure that belongs in the main plugin
#pfefferleGWG what do you mean with prettified version? saving the content to the DB, using the classic notification hooks or using the custom hooks of the email plugin?
#pfefferleGWG ah ok, had a quick look at the code and now I can understand why you did, what you did... this is really not perfect :(
pfefferl_ and pfefferle joined the channel
#tantekjust named a new cassis function relative_uri_hash as the least divergent/bikeshedding / maximum term re-use alternative he could think of for "everything in the URL after the protocol". :/
#tantekand my GitHub app is in a odd state of not running, and yet when I right-click on it in the dock, it shows current projects as it if was open. hmm.
snarfed, fourtonfish, eschnou, pfefferl_, pfefferle, j12t and glennjones joined the channel
#aaronpkotherwise "content":"<b>Hello World</b>" should be interpreted as plaintext and the website should render those as escaped html tags <b:gt;Hello World</b:gt;
#tantekI don't know how to publish cassis as an npm module
#tantekpretty sure we solved all the auto-space/para and auto-escape issues with the white-space discussion last week
#voxpellitantek: you have a package.json so I think "npm login" and "npm publish"
#aaronpkso if I go change Quill to do this right now, what will happen is it will definitely break people using the quill html editor
#voxpellitantek: + adding a node.js module wrapper around the code
#aaronpkand I have a feeling most peoples' micropub endpoints are not escaping plaintext content, since that's basically how the html editor was able to get html to show up on ppls' sites
#voxpellitantek: I can make a PR for the wrapper if you want?
#tantekvoxpelli: sure! be sure to edit the contributors file as part of your PR
#tantekI think some other packaging thing is in there too that someone else did
#voxpelliaaronpk: shouwl one support anything else but the "html" attribute – like if the "html" isn't there, should one pick "value" or should one expect that if it's an object then there's always supposed to be an "html" property?
#aaronpkfor now I think if it's an object there should always be an "html" property
#tantekI don't care about people on the "tabs side of the debate" who are not actually using tabs as part of presentational whitespace on their own site.
#tantekok, fully documented the /CSP I deployed with reasons why for each directive
#tantek!tell snarfed, kylewm as https / security experts I would appreciate your review of https://indiewebcamp.com/Content-Security-Policy (just created today) and if you like, my CSP deployment in particular to make sure I'm not giving bad advice to people. Thanks!
#tantek.comedited /Content-Security-Policy (+96) "/* Tantek */ note twitter frame/script for tweet button with tweeted count only, and frame-src is also needed for current Microsoft Edge" (view diff)
#tantekmyfreeweb++ thanks for the CSP review and questions!
#myfreewebthere's no explicit http:// twitter. you explicitly allowed only https:// twitter in CSP, twitter's script is js.src="//platform.twitter.com/widgets.js"
j12t joined the channel
#myfreeweb(do you really need that tweet count button?)
#LoqiContent-Security-Policy (abbreviated CSP) is an HTTP directive that a site can use to restrict what external resources are retrieved by a browser, to mitigate some XSS and injection attacks https://indiewebcamp.com/CSP
#myfreewebWTF moment: PubSubHubbub 0.4 doesn't define any publishing format. "The hub and the publisher can agree on any mechanism, as long as the hub is eventually able send the updated payload to the subscribers" o_0
#tantekok read Twitter's docs and there doesn't seem to be any way to force widgets.js to ALWAYS iframe src platform.twitter.com/widgets/tweet_button.(etc) over https.
#tantekin case benward is watching for mentions --- ^^^ any way to force widgets.js to always use an https iframe for platform.twitter.com/widgets/tweet_button... ?
#tantekright now it seems like it defaults to page protocol relative - which means http for me now, but I'd prefer to use widgets.js from https and have it also load/reference everything over https
#beartantek - it can be hard for someone not familiar with your code to evaluate your CSP. your unsafe-inline usage could be mitigated by using an <script nonce='...' wrapper