Skip to content
#

Go

go logo

Go is a programming language built to resemble a simplified version of the C programming language. It compiles at the machine level. Go was created at Google in 2007 by Robert Griesemer, Rob Pike, and Ken Thompson.

Here are 29,145 public repositories matching this topic...

tengqm
tengqm commented Sep 8, 2020

What happened:

apiVersion: v1
kind: Event

When creating the above resource (for testing), I'm getting this:

error: error validating "event-v1.yaml": error validating data: [ValidationError(Event): missing required field "metadata" in io.k8s.api.core.v1.Event, ValidationError(Event): missing required field "involvedObject" in io.k8s.api.core.v1.Event]; if you choose
caddy
utilitynerd
utilitynerd commented Aug 31, 2020

I would like to be able to prevent certain headers (Authorization: X-Auth-Token:, etc ) from being included in the caddy logs.

I found caddyserver/caddy#3562, which is asking to be able to set an allowlist of headers, which makes sense for their use case.

In my case, a blocklist, makes more sense, as I only want to prevent a single header from being included in the

MariusVanDerWijden
MariusVanDerWijden commented Apr 17, 2020

We are currently thinking about fixing some bugs in the mobile backend.
This issue shall act as an umbrella issue to collect some of the quirks of the backend that could be improved in the future. If you have any suggestions, feel free to add.

  • All functions are undocumented
    Maybe we can find a way to insert Javadoc into the generated.aar

  • Address.toString() returns {}Address
    In order

bysph
bysph commented Sep 14, 2020

描述:
我发现框架会自动在接口路由匹配前将multipart form数据缓存到磁盘中(当大于设定的允许内存读取大小时),并且缓存时是没有对大小进行限制的。该设计可能会导致客户端通过少量请求恶意提交大量数据将服务端磁盘临时占满。

当前处理方式:
增加一个BeforeStatic的过滤器,用于拦截所有携带multipart form数据的请求。不过该场景还是比较通用的,让每个使用beego框架的项目增加这个逻辑会比较冗余。

需求:
能否增加一个配置项用来控制是否由框架自动缓存呢?关闭的情况下,如果接口需要缓存,可以自行在handler中调用parsemultiform方法进行缓存。

相关代码行:
https://github.com/astaxie/beego/blob/f6519b29a846bdf59a2b86baa011c242f78387d5/router.

medyagh
medyagh commented Sep 10, 2020
PS C:\Users\jenkins> minikube cache add doesnt_exist_thing:haha
E0910 18:30:13.540553    3980 cache.go:63] save image to file "doesnt_exist_thing:haha" -> "C:\\Users\\jenkins\\.minikube\\cache\\images\\doesnt_exist_thing_haha" failed: nil image for doesnt_exist_thing:haha: GET https://index.docker.io/v2/library/doesnt_exist_thing/manifests/haha: UNAUTHORIZED: authentication required; [map[Ac
cockroach
jordanlewis
jordanlewis commented Aug 25, 2020

SQL supports hidden columns: columns that are only included in a projection if explicitly requested. An example of this is the rowid column that is created on tables without explicitly primary keys.

Currently, there is no way to get a hidden column on a user-defined table: it's only possible if you manually set the hidden boolean in the table descriptor, by editing the CockroachDB source code

mattermost-server
mickmister
mickmister commented Aug 17, 2020

Summary

When using a slash command that crashes a plugin, the user receives an unfriendly message.

Observed:

Command with a trigger of '/jira' not found. Click here to send as a message.

Expected:

Plugin for the jira command is not working. Please contact your system administrator.

Ticket Link

https://mattermost.atlassian.net/browse/MM-24753

Created by Robert Griesemer, Rob Pike, Ken Thompson

Released November 10, 2009

Repository
golang/go
Website
golang.org
Wikipedia
Wikipedia

Related Topics

c language
You can’t perform that action at this time.