Skip to content

Add query parameter validation #16

@mrodriguez3313

Description

@mrodriguez3313

Add checks to make sure we get a valid parameter values. That way we don't save or even import the key on a publish function. This will save time and not require backtracking work to delete potentially saved keys.

This is in reference to this function https://github.com/mrodriguez3313/IPNSGoServer/blob/1acc150aa82717528482b07d56da516faffcf9d1/server.go#L61

EDIT** Changed slightly to this now:

func HasParam(r *http.Request, parameter string) (string, bool) {

Metadata

Metadata

Assignees

No one assigned

    Labels

    P0Critical: Fierro team is actively pursuing solutionbugSomething isn't workingenhancementNew feature or request

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions