Skip to content

URLs with path segments beginning with a period #136

@dvogel

Description

@dvogel

With a project directory structure like this:

app
└── pages
    ├── index.up
    └── .well-known
        └── openid-configuration.up

The application should respond to requests to /.well-known/openid-configuration. The scanning code that enumerates page files includes the openid-configuration.up file and the pushup build dir includes a translated source file .well-known__openid-configuration.up.go. However the go build conventions omit this file, making the URL return a 404 error.

Renaming this file in the build directory to omit the leading . character and re-running go build causes the URL to be recognized. It seems the pushup compiler should take a similar step, mangling the name in a way to ensure it gets included.

Metadata

Metadata

Assignees

No one assigned

    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