1
1
mirror of https://github.com/go-gitea/gitea synced 2025-07-23 02:38:35 +00:00

Strict name matching for Repository.GetTagID() (#8074)

* Strict name matching for Repository.GetTagID()

* Perform make swagger-check swagger-validate vendor

* Add test for GetTagID()
This commit is contained in:
guillep2k
2019-09-04 02:48:17 -03:00
committed by Lauris BH
parent d9545f9ecc
commit 4cb1bdddc8
33 changed files with 1801 additions and 11 deletions

View File

@@ -227,6 +227,7 @@ struct ltchars {
#include <linux/rtc.h>
#include <linux/if_xdp.h>
#include <linux/cryptouser.h>
#include <linux/tipc.h>
#include <mtd/ubi-user.h>
#include <net/route.h>
@@ -508,6 +509,7 @@ ccflags="$@"
$2 ~ /^XDP_/ ||
$2 ~ /^(HDIO|WIN|SMART)_/ ||
$2 ~ /^CRYPTO_/ ||
$2 ~ /^TIPC_/ ||
$2 !~ "WMESGLEN" &&
$2 ~ /^W[A-Z0-9]+$/ ||
$2 ~/^PPPIOC/ ||