{"push_id":1323416682,"size":1,"distinct_size":1,"ref":"refs/heads/enable-campaign-redirects","head":"be6799884e2cbcaf3c8af24f4ed42fdd1598d942","before":"b7d57a685109964170ae2a67f86544f12d6709c8","commits":[{"sha":"be6799884e2cbcaf3c8af24f4ed42fdd1598d942","author":{"name":"Ikenna Okpala","email":"b4a5ea001e047040e8c9075b67a268293138da2c@ikennaokpala.com"},"message":"Enable use of gov.uk external campaign urls[1]\n\nPrior to this commit, external urls were not supported and validation\nwere put in place to negate them.\n\nThis commit enables the use of only gov.uk external campaign urls[1].\n\nWithin, external gov.uk campaign urls[1] have been validated with regex:\n\n* possible campaign.service.gov.uk sub domain.\n* scheme must either http or https.\n* cannot start a hyphen.\n* can be alphanumeric (or hyphen).\n* number of characters range from 1-63. Refer to [2]\n\nIn theory [2], it is believed that DNS itself can have up to 127 levels\nof label, each label can be up to 63 characters and the maximum length of\nthe whole record is limited to approximately 255 characters.\n\n[1] Example: https://new-vat-rates.campaign.service.gov.uk/path/to/your/new/vat-rates\n[2] https://en.wikipedia.org/wiki/Subdomain","distinct":true,"url":"https://api.github.com/repos/alphagov/publishing-api/commits/be6799884e2cbcaf3c8af24f4ed42fdd1598d942"}]}
{"actor":{"display_login":"ikennaokpala"}}