Skip to content

RequestDataValueProcessor not called in RedirectViewController #3076

Closed
@gillarramendi

Description

@gillarramendi

If I define the following redirect view:

protected static class WebConfig extends WebMvcConfigurerAdapter{
    public void addViewControllers(ViewControllerRegistry registry) {
        registry.addRedirectViewController("/redirect", "/link");
    }
}

And a custom RequestDataValueProcessor implementation:

@Bean
public CustomRequestDataValueProcessor requestDataValueProcessor(){
    return new CustomRequestDataValueProcessor();
} 

CustomRequestDataValueProcessor.processUrl(HttpServletRequest, String) is not called in redirect.

Here is an example application that shows this behavior: https://github.com/gillarramendi/sample-spring-boot

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions