• Mike Samuel's avatar
    exp/template/html: Added handling for URL attributes. · 22d5f9aa
    Mike Samuel authored
    1. adds a urlPart field to context
    2. implements tURL to figure out the URL part
    3. modifies joinContext to allow common context mismatches
       around branches to be ignored when not material as in
       <a href="/foo{{if .HasQuery}}?q={{.Query}}{{/if}}">
    4. adds a pipeline function that filters dynamically inserted
       protocols to prevent code injection via URLs.
    
    R=nigeltao
    CC=golang-dev
    https://golang.org/cl/4957041
    22d5f9aa
Name
Last commit
Last update
..
cmd Loading commit data...
lib9 Loading commit data...
libbio Loading commit data...
libmach Loading commit data...
pkg Loading commit data...
Make.ccmd Loading commit data...
Make.clib Loading commit data...
Make.cmd Loading commit data...
Make.common Loading commit data...
Make.inc Loading commit data...
Make.pkg Loading commit data...
all-qemu.bash Loading commit data...
all.bash Loading commit data...
clean.bash Loading commit data...
env.bash Loading commit data...
make.bash Loading commit data...
quietgcc.bash Loading commit data...
run.bash Loading commit data...
sudo.bash Loading commit data...
version.bash Loading commit data...