From owner-freebsd-doc@freebsd.org Fri Jul 6 09:53:12 2018 Return-Path: Delivered-To: freebsd-doc@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 0B6091035C2F for ; Fri, 6 Jul 2018 09:53:12 +0000 (UTC) (envelope-from lists@eitanadler.com) Received: from freefall.freebsd.org (freefall.freebsd.org [96.47.72.132]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client CN "freefall.freebsd.org", Issuer "Let's Encrypt Authority X3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4DAD876C00 for ; Fri, 6 Jul 2018 09:53:11 +0000 (UTC) (envelope-from lists@eitanadler.com) Received: by freefall.freebsd.org (Postfix) id 461E328EA; Fri, 6 Jul 2018 09:53:11 +0000 (UTC) Delivered-To: docs@localmail.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [96.47.72.80]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client CN "mx1.freebsd.org", Issuer "Let's Encrypt Authority X3" (verified OK)) by freefall.freebsd.org (Postfix) with ESMTPS id 43A1328E9 for ; Fri, 6 Jul 2018 09:53:11 +0000 (UTC) (envelope-from lists@eitanadler.com) Received: from mail-yb0-x22a.google.com (mail-yb0-x22a.google.com [IPv6:2607:f8b0:4002:c09::22a]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (Client CN "smtp.gmail.com", Issuer "Google Internet Authority G2" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 18C1276BFE for ; Fri, 6 Jul 2018 09:53:11 +0000 (UTC) (envelope-from lists@eitanadler.com) Received: by mail-yb0-x22a.google.com with SMTP id s8-v6so4333507ybe.8 for ; Fri, 06 Jul 2018 02:53:11 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=eitanadler.com; s=0xdeadbeef; h=mime-version:from:date:message-id:subject:to; bh=FesPotFZafMiQxPf284epxjzqm+lxCmugPVbPgmZWew=; b=ILvKD8hzghrGxNYUP59dZ+bT18rJCdFiyiMC64xdm53crAuR23TotdXvJP51QjylZu I6ajOQnhB1aW2OB9sief5T3U7h4B2q9KQWwh4myOV+APDfugbdtj+DQlXzMhKHDNVz23 dTI/euqIJWdXhR/u3fmsDB53681vdFGHWiocc= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:from:date:message-id:subject:to; bh=FesPotFZafMiQxPf284epxjzqm+lxCmugPVbPgmZWew=; b=QVw020DmLVmphNAZzasuQyYNzgHa2KAsb2EkNRUQ3u8r1pm3dFCRqJZXBAPxyQUcH7 vniufzxcQtmLpgmrKJjxUtShsmG0c3xWunQ+4431C8lY3NsOrgug4ipycwu6K7KYT711 i9d7Z9kDhPxrmjmEJvBJTya4aYzW3b1Y3tJGGtoCGuziQvJ3DNW2MqRTaTKevo96GnkI fJ5Jzl0V8KJ+nS7QdUAoUgPL1/AK4Uf34WCYEPVu+d+BF+51s19S7k3ZgH4DsrnNiXUC ikqtfEYBwr5iqWNudp1VXvefCA5GV3F3O5lOz+6I8bXnneTfxFNSBQxZRUwxlXdXRyXi Ybpg== X-Gm-Message-State: APt69E16CRdmHGrLNeQ1Xx52afGlcGPwEObdB50+hhU8gjpA5k8BXeoC 8S/TaN53RODrPlWVb4/GSSNBXcdMKASAE3Kt8xeudw== X-Google-Smtp-Source: AAOMgpd65hKl7w8462k2HH6ZXa0yahSuhrb3syBPzzcMXV1qUKITjKbjr1lHfbcZHcO1IUXWs0cbbBgjIQvo/E13O1A= X-Received: by 2002:a25:4546:: with SMTP id s67-v6mr4995845yba.89.1530870790060; Fri, 06 Jul 2018 02:53:10 -0700 (PDT) MIME-Version: 1.0 From: Eitan Adler Date: Fri, 6 Jul 2018 02:52:43 -0700 Message-ID: Subject: Help needed with entities and headers and such To: docs@freebsd.org Content-Type: text/plain; charset="UTF-8" X-BeenThere: freebsd-doc@freebsd.org X-Mailman-Version: 2.1.27 Precedence: list List-Id: Documentation project List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 06 Jul 2018 09:53:12 -0000 Hi all, I recently tried updating the Javascript involved with google analytics in r51804. Unfortunately I was either incomplete in my testing or I had something special in my location environment since the header is now incorrect. In particular it no longer expands "&" although replacing them with just "&" errors out. As a result, I reverted the change, but I'd like to redo it correctly. The specific problem looked like: === if (typeof navigator.doNotTrack !== 'undefined' && (navigator.doNotTrack == '1')) { allow_track = false; } if (allow_track && fbsdregex.test(h)) { === I'd like some help fixing this. I am also aware of a similar change in share/xml/freebsd-xhtml-common.xsl where