Casper Küthe

Results 6 issues of Casper Küthe

When using the asset manager the `href` and `src` values will always be the filename. This doesn't work when you are mounting a static directory under another name. For example...

Implementation of middleware for vweb, inspired by the syntax of discussion [#15187](https://github.com/vlang/v/discussions/15187?sort=new#discussioncomment-3209759) and code in pull request [#12961](https://github.com/vlang/v/pull/12916#issue-1085416990). ## Why Was playing around with vweb and couldn't find a solution...

### Describe the bug The csrf protection of vweb is faulty and outdated. - When using the default app from the documentation the csrf protection can easily be bypassed by...

Bug

### Describe the feature Let custom iterators return multiple values. Since there are no tuples in V custom iterators could be used to handle data that would otherwise be in...

Feature Request

### Describe the bug Checking whether a struct is a generic interface works only when passing the concrete generic type ### Reproduction Steps ```v pub struct Context {} pub struct...

Bug
Unit: Compiler
Unit: Type System
Generics[T]
Comptime

This pr adds a `Config` struct to `x.vweb` to change the default behaviour of vweb. When vweb encounters an incomplete request it will now wait until a timeout occurs for...