Re: [PATCH v3] models: Validate Project.linkname does not contain forward slash

2020-10-01 Thread Stephen Finucane
On Mon, 2020-09-28 at 18:37 +0200, Thomas Bracht Laumann Jespersen wrote: > I started by creating a project that contained a forward slash > (importing patches from https://lists.sr.ht/~sircmpwn/sr.ht-dev/) and > it fails to render the "projects" main page. > > The specific error reads: > > N

[PATCH v3] models: Validate Project.linkname does not contain forward slash

2020-09-28 Thread Thomas Bracht Laumann Jespersen
I started by creating a project that contained a forward slash (importing patches from https://lists.sr.ht/~sircmpwn/sr.ht-dev/) and it fails to render the "projects" main page. The specific error reads: NoReverseMatch at / Reverse for 'patch-list' with keyword arguments '{'project_i