Skip to content

[Bug?]: fastify server not handling periods in query params #9663

@ajluker

Description

@ajluker

What's not working?

It doesn't look like the fastify server is returning the index when a query parameter contains a period.

For example, appending this to any routed URL works:
/your-route?this_Should_be_ok

But this doesnt:
/your-route?this_Shoul.d_be_ok

Instead of being served the index html file, I receive a 404

How do we reproduce the bug?

Tack ?this_Shoul.d_be_ok onto any path

What's your environment? (If it applies)

Binaries:
    Node: 18.18.0 - /tmp/xfs-1fd38dbd/node
    Yarn: 3.2.3 - /tmp/xfs-1fd38dbd/yarn
  npmPackages:
    @redwoodjs/auth-custom-setup: 6.4.2 => 6.4.2 
    @redwoodjs/cli-storybook: 6.4.2 => 6.4.2 
    @redwoodjs/core: 6.4.2 => 6.4.2

Are you interested in working on this?

  • I'm interested in working on this

Metadata

Metadata

Assignees

Labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions