mirror of
https://github.com/go-gitea/gitea.git
synced 2026-10-07 20:59:29 +02:00
#1554 check adminFilter length before LDAP search
This commit is contained in:
1 parent
90a6553c37
commit
f1adbca0f1
2 files changed
+16
-14
No files matched your search
+14
-12
@@ -120,19 +120,21 @@ func (ls Ldapsource) SearchEntry(name, passwd string) (string, string, string, b
|
|||||||
sn_attr := sr.Entries[0].GetAttributeValue(ls.AttributeSurname)
|
sn_attr := sr.Entries[0].GetAttributeValue(ls.AttributeSurname)
|
||||||
mail_attr := sr.Entries[0].GetAttributeValue(ls.AttributeMail)
|
mail_attr := sr.Entries[0].GetAttributeValue(ls.AttributeMail)
|
||||||
|
|
||||||
search = ldap.NewSearchRequest(
|
|
||||||
userDN, ldap.ScopeWholeSubtree, ldap.NeverDerefAliases, 0, 0, false, ls.AdminFilter,
|
|
||||||
[]string{ls.AttributeName},
|
|
||||||
nil)
|
|
||||||
|
|
||||||
sr, err = l.Search(search)
|
|
||||||
admin_attr := false
|
admin_attr := false
|
||||||
if err != nil {
|
if len(ls.AdminFilter) > 0 {
|
||||||
log.Error(4, "LDAP Admin Search failed unexpectedly! (%v)", err)
|
search = ldap.NewSearchRequest(
|
||||||
} else if len(sr.Entries) < 1 {
|
userDN, ldap.ScopeWholeSubtree, ldap.NeverDerefAliases, 0, 0, false, ls.AdminFilter,
|
||||||
log.Error(4, "LDAP Admin Search failed")
|
[]string{ls.AttributeName},
|
||||||
} else {
|
nil)
|
||||||
admin_attr = true
|
|
||||||
|
sr, err = l.Search(search)
|
||||||
|
if err != nil {
|
||||||
|
log.Error(4, "LDAP Admin Search failed unexpectedly! (%v)", err)
|
||||||
|
} else if len(sr.Entries) < 1 {
|
||||||
|
log.Error(4, "LDAP Admin Search failed")
|
||||||
|
} else {
|
||||||
|
admin_attr = true
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
return name_attr, sn_attr, mail_attr, admin_attr, true
|
return name_attr, sn_attr, mail_attr, admin_attr, true
|
||||||
|
|||||||
@@ -284,7 +284,7 @@ func (fi bindataFileInfo) Sys() interface{} {
|
|||||||
return nil
|
return nil
|
||||||
}
|
}
|
||||||
|
|
||||||
var _confAppIni = []byte("\x1f\x8b\x08\x00\x00\x09\x6e\x88\x00\xff\xb4\x5a\x4b\x8f\xe3\x56\x76\xde\xf3\x57\x5c\x97\xe3\xb8\x1d\x48\xaa\x97\xfb\xe1\xb2\x2b\x69\x95\x44\xa9\x38\xad\x97\x49\xa9\xcb\xed\x46\x81\xc5\x22\xaf\x24\x76\x51\xa4\x9a\x97\xac\x6a\x19\x59\x8c\x91\x45\x80\x2c\x93\x41\xb2\x09\x82\x64\x11\x04\x98\x3c\x90\x41\x36\x33\x13\x64\x65\x64\xdf\xfd\x1f\x0c\xcf\xe4\x5f\xe4\x3b\xe7\x92\x12\x55\x5d\xee\xf1\x4c\x32\xe8\x46\x89\xba\x8f\x73\xef\xf9\xee\x79\x7c\xe7\x52\xef\x8b\x81\xf9\xd4\xb4\x05\xff\xe9\x0f\xdb\x56\xe7\x99\x18\x9f\x5a\x8e\xe8\x58\x3d\xd3\x78\x5f\x8c\x7a\x66\xd3\x31\x45\xbf\xf9\xc4\x14\xad\xd3\xe6\xa0\x6b\x3a\x62\x38\x10\xad\xa1\x6d\x9b\xce\x68\x38\x68\x5b\x83\xae\x68\x4d\x9c\xf1\xb0\x8f\xc6\x41\xc7\xea\xea\x99\xc6\xa7\xa2\xb9\x5c\x8a\xd8\x5b\x48\x91\xcd\xbd\x4c\xa8\x79\x72\xa3\x44\x12\x0b\x79\x2d\xd3\x95\x58\x7a\x33\x74\x84\x59\x24\x8d\xe6\x68\xe4\x0e\x9a\x7d\x53\x1c\x8b\x6e\x32\x53\x47\xf8\x2b\xba\x61\x26\x1c\x99\x5e\x87\xbe\x84\xa4\xd6\xdc\x8b\x31\x1c\x6d\xe1\x54\xac\x92\x5c\xa4\x79\x2c\xa2\xc4\xf7\xa2\x68\x65\xd8\x93\x81\x3b\x71\xb0\xfb\x63\x31\x0b\x33\x8c\x36\xc3\x6c\x2e\x53\xb1\x13\xc8\xeb\x9d\x9a\xd8\x59\xa6\x49\xb0\x23\x12\x34\x64\x52\x65\x68\x09\xe4\xd4\xcb\x23\xc8\x52\x7a\x0c\x4b\x80\xea\xb4\x01\x7c\x37\x8c\xe7\xa9\x5c\x26\x2a\xcc\x92\x74\x75\x6e\xd8\xc3\xe1\x58\x1c\x1b\x4e\xcb\xb6\x46\x63\x77\xfc\x6c\x44\xc3\x2e\x3d\x35\xc7\xb8\x3c\x3c\xc7\x7a\x83\x7c\x71\x89\xf5\x92\xa9\x58\xcf\x0b\xa5\xd2\x5a\x7b\xa9\x64\xcd\x65\x20\xc2\x18\xda\x4b\x21\x5f\x2d\xa3\x04\xad\x04\x80\x61\x7e\x31\xea\x0d\x6d\xd3\x1d\x35\xbb\xc0\xd1\x1d\x4c\xfa\x10\x7e\xb0\xb7\x25\x34\x54\x2a\xff\x7e\x71\x2c\xc6\x72\x9c\xc9\x2d\x21\xfb\x7b\xd8\x9f\x02\x82\x32\x3d\x37\x46\xf6\x70\x3c\x6c\x0d\x7b\x68\x9f\x67\xd9\xd2\x68\x0f\xfb\x4d\x6b\x80\x6f\x8c\xe1\x3c\x51\x19\xab\xe9\x4e\x6c\x1a\xf2\xc1\xbd\x72\xfc\x47\xea\x68\x77\xf7\x83\x7b\x7a\x38\xbe\x7c\x70\xef\x74\x3c\x1e\xb9\xa3\xa1\x3d\xfe\x48\xed\x1a\xfc\xa5\xd9\x6e\x03\x7a\x63\xdd\x01\x01\x87\x7b\x7b\xa4\x42\x3b\x54\xde\x65\x24\x85\xe3\x9c\x8a\xa9\xf4\xb2\x1c\x9b\xbf\x99\xcb\x58\xc4\x09\x34\xb9\xf6\xc2\x88\xba\x8d\xb6\xe5\x34\x4f\x7a\xa6\x4b\xc3\x8e\xc5\xd4\x8b\x94\x34\xf0\x5c\x0a\x3b\x38\xa8\x88\x6a\xb5\x07\x64\x3f\x31\x69\x5f\x1c\xec\x22\x09\xa4\x31\xec\x74\x7a\xd6\xc0\x2c\x4f\x51\x0b\x29\x05\xdb\xc3\xc9\xd8\xb4\xdd\xde\xb0\xbb\xee\xfa\x54\x74\x65\x2c\x53\x2f\x03\x9c\x99\x5c\xaa\x23\xb4\xfc\x81\xf0\x03\xc0\x99\xcd\x77\xb3\x64\x77\x06\x43\xdc\xf5\x73\x95\x25\x8b\x5d\x82\x4c\xf1\x80\x06\xb7\x0b\x5f\xa6\x99\xa8\xfb\xde\x71\x96\xe6\x52\xd4\x83\x1c\x82\xc2\x24\x3e\x7e\xf4\xf0\xc1\xde\x7c\x6f\xb1\xa7\x44\x9d\x30\x3d\x5e\xac\xe8\xa3\x21\x5f\x79\x8b\x65\x24\x1b\x7e\xb2\x30\x3e\x85\x9c\x61\x2a\xa6\x69\xb2\x10\x9e\x68\x2c\xa7\xaf\xc4\x34\x8c\xd8\x2a\x92\x34\xc3\xb1\x72\x0f\xec\x57\x9c\x85\x71\x40\x1e\x43\x8b\x85\xd3\xd0\xd7\x7b\x25\xcb\xb9\x17\x24\x90\x42\x20\x4e\x93\x74\x26\x33\x91\x25\xc5\x7c\x9e\xb8\x4c\xc3\x6b\x1a\x7c\x25\x57\x1f\x69\xbd\x92\xa5\x8c\x95\x8a\xc4\xf2\xca\x57\xfb\x07\xa2\x0e\xf0\x48\x2a\xaf\x5e\x4f\xf2\xac\xf8\x26\x17\xa2\x1e\x27\x98\xa6\x7e\xd8\x2c\x8c\x2c\x27\x51\x87\xa2\x87\x40\x2a\xa3\x65\xda\x63\x97\x82\x00\xe0\xae\x42\xb8\x5b\x2e\x63\x3c\x31\x9f\xdd\x39\xa0\x90\x88\xe5\x27\xcb\x25\xac\x3f\xc2\x59\x47\xe4\x03\x99\x04\x82\xa4\x94\x17\x07\x40\x01\x70\xfb\x1a\x37\x3a\x2f\x0c\xaf\xb8\x34\x43\x80\x56\x32\x35\x80\x45\x11\x85\x9a\xe5\x2b\xe9\xe7\x00\xd8\x70\xc6\xcd\xb1\xd5\x72\xd9\xde\x47\xcd\x31\x6c\x4e\x87\xaa\x88\x20\xc6\x29\x16\x8b\x76\xbf\xb4\x46\x42\xe5\x4b\x82\xd5\x30\x07\x6c\x48\xdc\xb6\x31\xa1\x1e\x36\x13\xc6\x33\x1d\xca\x70\x14\x38\x92\xb8\x1e\x25\xb3\x19\x8e\x31\x87\xeb\xa9\x9a\xf0\xbd\x58\x5c\x4a\xb1\x33\x4f\x16\x52\xc7\xa0\xc2\xfd\x77\x8c\x5e\x93\x63\x27\x79\x2d\xe1\x40\x23\xe0\xb1\x81\x97\x79\x08\x2e\xf2\xbc\x12\xc7\x16\x2b\xf5\x32\xe2\x48\x06\x6b\x9a\xa5\x52\x69\x49\x68\x0c\x33\x79\x88\x8e\x30\xfb\x50\x51\x58\x4c\x85\x3f\x4f\x28\x62\xb6\x4f\xca\x40\xc5\x73\x8d\xd3\xa1\x43\xae\xb4\x7f\xf0\xb0\xb1\x87\x7f\xfb\x47\x87\x87\x7b\x0f\x8c\x22\xe6\x92\x49\x1b\x45\x00\x4d\x93\x24\x33\x46\x4d\xc7\x39\x6b\x33\x2e\x1d\x5a\xa8\xb2\x6c\x1c\xad\x6a\x42\x96\xf1\x55\x3b\x25\xed\x2c\x95\x2f\xf3\x30\x2d\x54\x44\xc8\x09\xa7\xab\xfa\x34\x8f\xa2\x1d\x78\x72\x6f\x1d\x5b\xf5\xf8\x52\x6c\xb9\x7f\x96\x6a\xe8\xa3\x10\xa4\x3f\x3b\x59\x23\xb8\x04\x1c\x5e\xb0\x08\xe3\x73\x8e\x64\x7e\x9e\x86\x19\xe2\xb1\x35\xc0\x09\xf6\x7a\x70\xe7\xd6\x93\xca\x61\xbc\xf7\x9e\xce\x4e\x3a\x79\x8d\x87\xe2\x89\x69\x8e\xc4\xb3\xe1\xc4\x16\xac\x5b\xbb\x39\x6e\x0a\xa7\xd9\x31\xdf\x7b\xcf\x70\xcc\x96\x6d\x8e\x5d\x58\x21\x04\xbc\xf7\xfe\xe3\x4e\xdb\x3c\xb3\xf1\xff\x0f\xff\xe8\x1e\xd9\x42\x9e\x25\x74\x8c\xb0\xf7\x54\x2e\x24\x87\xe1\xc0\x83\x53\x20\x80\x58\x03\xd7\x36\xfb\x66\xff\x04\xf1\xa4\xdd\x7c\xe6\x60\xfe\x43\xa3\x35\x1c\x3e\xb1\x4c\xce\x41\x15\x48\x5d\xef\x46\x2a\x3a\xd4\xa2\x7b\x3d\xaf\x3a\x26\x8c\xfd\x54\x06\xa1\x46\xc5\xa6\xcc\xa8\xc8\x81\x93\x57\x2b\xe1\xe5\x40\x39\xce\x4a\xab\x9c\x4b\x2f\xc0\x46\x38\x9f\xc2\x21\xc8\xbe\xf8\x8b\x61\x53\xe6\x76\x10\xfd\xed\xe1\x17\xcf\xdc\xe6\x64\x7c\x6a\x0e\x60\Line truncated
|
var _confAppIni = []byte("\x1f\x8b\x08\x00\x00\x09\x6e\x88\x00\xff\xb4\x5a\x5b\x6f\xe3\x48\x76\x7e\xe7\xaf\xa8\xf6\x64\x32\xdd\x81\x24\xdf\xa6\x2f\xe3\x19\x27\x2d\x4b\x94\xcd\xb5\x6e\x43\x4a\xed\xe9\x69\x18\x34\x4d\x96\x24\xb6\x29\x52\xcd\x22\xed\xd6\x20\x0f\x3b\xc8\x43\x80\x3c\x26\x8b\xe4\x25\x08\x92\x87\x20\xc0\xe6\x82\x2c\xf2\xb2\xbb\x41\x9e\x06\x79\xef\xfe\x0f\x83\xd9\xcd\xbf\xc8\x77\x4e\x91\x12\xe5\xf6\xf4\xce\x6e\xb2\xe8\x86\x45\xd5\xe5\x54\xd5\x57\xa7\xbe\xf3\x9d\xa2\x3e\x10\x7d\xf3\x99\x69\x0b\xfe\xd3\x1b\xb4\xad\xce\x73\x31\x3a\xb1\x1c\xd1\xb1\xba\xa6\xf1\x81\x18\x76\xcd\xa6\x63\x8a\x5e\xf3\xd4\x14\xad\x93\x66\xff\xd8\x74\xc4\xa0\x2f\x5a\x03\xdb\x36\x9d\xe1\xa0\xdf\xb6\xfa\xc7\xa2\x35\x76\x46\x83\x1e\x0a\xfb\x1d\xeb\x58\xf7\x34\x3e\x15\xcd\xc5\x42\xc4\xde\x5c\x8a\x6c\xe6\x65\x42\xcd\x92\x1b\x25\x92\x58\xc8\x6b\x99\x2e\xc5\xc2\x9b\xa2\x22\xcc\x22\x69\x34\x87\x43\xb7\xdf\xec\x99\xe2\x50\x1c\x27\x53\x75\x80\xbf\xe2\x38\xcc\x84\x23\xd3\xeb\xd0\x97\xb0\xd4\x9a\x79\x31\x9a\xa3\x2c\x9c\x88\x65\x92\x8b\x34\x8f\x45\x94\xf8\x5e\x14\x2d\x0d\x7b\xdc\x77\xc7\x0e\x66\x7f\x28\xa6\x61\x86\xd6\x66\x98\xcd\x64\x2a\xb6\x02\x79\xbd\x55\x13\x5b\x8b\x34\x09\xb6\x44\x82\x82\x4c\xaa\x0c\x25\x81\x9c\x78\x79\x04\x5b\x4a\xb7\x61\x0b\x58\x3a\x4d\x00\xdf\x0d\xe3\x45\x2a\x17\x89\x0a\xb3\x24\x5d\x9e\x1b\xf6\x60\x30\x12\x87\x86\xd3\xb2\xad\xe1\xc8\x1d\x3d\x1f\x52\xb3\x4b\x4f\xcd\xd0\x2e\x0f\xcf\x31\x5e\x3f\x9f\x5f\x62\xbc\x64\x22\x56\xfd\x42\xa9\xf4\xaa\xbd\x54\xf2\xca\x65\x20\xc2\x18\xab\x97\x42\xbe\x5e\x44\x09\x4a\x09\x00\xc3\xfc\x62\xd8\x1d\xd8\xa6\x3b\x6c\x1e\x03\x47\xb7\x3f\xee\xc1\xf8\xde\xce\x86\xd1\x50\xa9\xfc\xfb\xcd\xb1\x19\xcb\x71\xc6\xb7\x8c\xec\xee\x60\x7e\x73\x2f\xbd\x0a\x92\x9b\x98\x66\x69\xc6\xde\x65\x24\xc5\xcc\x4b\x03\x11\x85\xe8\x79\x99\x4a\xef\x0a\xd3\xc9\x64\xac\xc2\x24\x36\xcc\x7e\xf3\xa8\x6b\xba\x27\x4d\xbb\xed\x76\xad\xbe\xe9\x1e\xd9\x66\xf3\x14\xa6\x26\x5e\xa4\x24\xac\x29\xec\x87\x4c\xcf\x8d\xa1\x3d\x18\x0d\x5a\x83\x2e\xaa\x66\x59\xb6\x30\xda\x83\x5e\xd3\xea\xe3\x1b\xef\xc8\x2c\x51\x19\x83\xe6\x8e\x6d\x6a\xf2\xe1\xfd\xb2\xfd\x03\x75\xb0\xbd\xfd\xe1\x7d\xdd\x1c\x5f\x3e\xbc\x7f\x32\x1a\x0d\xdd\xe1\xc0\x1e\x3d\x50\xdb\x06\x7f\x69\xb6\xdb\xd8\x48\x63\x55\x01\x03\xfb\x3b\x3b\x04\x48\x3b\x54\xbc\x00\xc7\x39\x11\x13\xe9\x65\x39\xa0\xb8\x99\xc9\x58\xc4\x09\x70\xb9\xf6\xc2\x88\xaa\x8d\xb6\xe5\xf0\x32\xa8\x59\x39\x75\x3c\x97\xc6\xf6\xf6\x2a\xa6\x5a\xed\x3e\x79\x63\x4c\x58\x16\x6e\x32\x4f\x02\x69\x0c\x3a\x1d\x06\xa0\xf0\x09\x6d\xa4\x34\x6c\x0f\xc6\x23\xd3\x76\xbb\x83\xe3\x55\xd5\xa7\xe2\x58\xc6\x32\xf5\x32\x6c\x4e\x26\x17\xea\x00\x25\x7f\x20\xfc\x00\x9b\x93\xcd\xb6\xb3\x64\x7b\x0a\xb7\xde\xf6\x73\x95\x25\xf3\x6d\x82\x4c\x71\x83\x06\x97\x0b\x5f\xa6\x99\xa8\xfb\xde\x61\x96\xe6\x52\xd4\x83\x1c\x86\xb0\x1f\x87\x4f\x1e\x3f\xda\x99\xed\xcc\x77\x94\xa8\x13\xa6\x87\xf3\x25\x7d\x34\xe4\x6b\x6f\xbe\x88\x64\xc3\x4f\xe6\xc6\xa7\xb0\x33\x48\xc5\x24\x4d\xe6\xc2\x13\x8d\xc5\xe4\xb5\x98\x84\x11\xfb\x58\x92\x66\x70\x12\xae\xc1\x69\x10\x67\x61\x1c\xd0\xf9\xa3\xc1\xc2\x49\xe8\xeb\xb9\x92\x1f\xde\x0f\x12\x58\x21\x10\x27\x49\x3a\x95\x99\xc8\x92\xa2\x3f\x77\x5c\xa4\xe1\x35\x35\xbe\x92\xcb\x07\x7a\x5d\xc9\x02\x0e\xa3\x22\xb1\xb8\xf2\xd5\xee\x9e\xa8\x03\x3c\xb2\xca\xa3\xd7\x93\x3c\x2b\xbe\xc9\xb9\xa8\xc7\x09\xba\xa9\x1f\xd6\x0b\x2d\xcb\x4e\x54\xa1\xe8\x21\x90\xca\x68\x99\xf6\xc8\x25\x4a\x01\xdc\x55\x08\xb7\xcb\x61\x8c\x53\xf3\xf9\x9d\x0d\x0a\x8b\x18\x7e\xbc\x58\xe0\x2c\x45\xd8\xeb\x88\x4e\x54\x26\x81\x20\x2d\xca\x8b\x03\xa0\x00\xb8\x7d\x8d\x1b\xed\x17\x9a\x57\x08\x82\x21\x40\x29\xb9\x1a\xc0\x22\x7e\xa2\x62\xf9\x5a\xfa\x39\x00\x36\x9c\x51\x73\x64\xb5\x5c\xf6\xf7\x61\x73\x04\x9f\xd3\xc4\x17\x11\xc4\xd8\xc5\x62\xd0\xe3\x2f\xad\xa1\x50\xf9\x82\x60\x2d\x0f\x1a\x97\xad\x5d\xa8\x8b\xc9\x84\xf1\x54\x13\x23\xb6\x02\x5b\x12\xd7\xa3\x64\x3a\xc5\x36\xe6\x38\x7a\xaa\x26\x7c\x2f\x16\x97\x52\x6c\xcd\x92\xb9\xd4\x8c\x56\x90\xc9\x96\xd1\x6d\x32\x13\x13\x07\x10\x0e\xd4\x02\x27\x36\xf0\x32\x0f\x54\x25\xcf\x2b\xac\x38\x5f\xaa\x57\x11\xf3\x22\xbc\x69\x9a\x4a\xa5\x2d\xa1\x30\xcc\xe4\x3e\x2a\xc2\xec\x23\x45\x24\x9b\x0a\x7f\x96\x10\xff\xb6\x8f\x4a\xda\xe3\xbe\xc6\xc9\xc0\xa1\xa3\xb4\xbb\xf7\xb8\xb1\x83\x7f\xbb\x07\xfb\xfb\x3b\x8f\x8c\x82\xc1\xc9\xa5\x8d\x82\x8e\xd3\x24\xc9\x8c\x61\xd3\x71\xce\xda\x8c\x4b\x87\x06\xaa\x0c\x1b\x47\xcb\x9a\x90\x25\x5b\xeb\x43\x49\x33\x4b\xe5\xab\x3c\x4c\x8b\x25\x82\x72\xc2\xc9\xb2\x3e\xc9\xa3\x68\x0b\x27\xb9\xbb\x62\x6a\xdd\xbe\x34\x5b\xce\x9f\xad\x1a\x7a\x2b\x04\xad\x9f\x0f\x59\x23\xb8\x04\x1c\x5e\x30\x0f\xc1\x85\xc4\x64\x7e\x9e\x86\x19\xd8\xdd\xea\x63\x07\xbb\x5d\x1c\xe7\xd6\x69\x65\x33\xee\xdd\xd3\xb1\x4e\x87\xc2\xd1\x40\x9c\x9a\xe6\x50\x3c\x1f\x8c\x6d\xc1\x6b\x6b\x37\x47\x4d\xe1\x34\x3b\xe6\xbd\x7b\x86\x63\xb6\x6c\x73\xe4\xc2\x0b\x61\xe0\xde\x07\x4f\x3b\x6d\xf3\xcc\xc6\xff\x3f\xfc\xa3\xfb\xe4\x0b\x79\x96\xd0\x36\xc2\xdf\x53\x39\x97\x4c\xea\x81\x87\x43\x01\x02\xb1\xfa\xae\x6d\xf6\xcc\xde\x11\xf8\xa4\xdd\x7c\xee\xa0\xff\x63\xa3\x35\x18\x9c\x5a\x26\x47\xb4\x0a\xa4\xae\x77\x23\x15\x6d\x6a\x51\xbd\xea\x57\x6d\x13\xc6\x7e\x2a\x83\x50\Line truncated
|
||||||
|
|
||||||
func confAppIniBytes() ([]byte, error) {
|
func confAppIniBytes() ([]byte, error) {
|
||||||
return bindataRead(
|
return bindataRead(
|
||||||
@@ -299,7 +299,7 @@ func confAppIni() (*asset, error) {
|
|||||||
return nil, err
|
return nil, err
|
||||||
}
|
}
|
||||||
|
|
||||||
info := bindataFileInfo{name: "conf/app.ini", size: 9654, mode: os.FileMode(420), modTime: time.Unix(1441105132, 0)}
|
info := bindataFileInfo{name: "conf/app.ini", size: 9732, mode: os.FileMode(420), modTime: time.Unix(1441110408, 0)}
|
||||||
a := &asset{bytes: bytes, info: info}
|
a := &asset{bytes: bytes, info: info}
|
||||||
return a, nil
|
return a, nil
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in new issue
Block a user