Skip to content

File.R calls the wrong "redirect" if PATH_INFO has no "/" (slash) #39

@greg-minshall

Description

@greg-minshall

it calls unadorned "redirect", which takes only one argument. i suspect it should be calling "res$redirect", which i think would allow for the 301 code as a second argument.

          return(redirect(paste(env[["SCRIPT_NAME"]], env[["PATH_INFO"]], "/", sep=""), status=301))

cheers.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions