Skip to content

Performing encodeURIComponent or escape methods will end with a bigger string #19

@jalbam

Description

@jalbam

Hello,

Thank you very much for this library. It is very good.

Is there any possibility to use ., *, - or _ symbols instead of using the current (, ), etc. symbols?

This way we could use the string directly in a URL parameter (query) after performing encodeURIComponent (or escape) without being afraid that the string will become much bigger as many characters will be escaped. Currently, as it uses symbols like ( and ), they will be escaped by these two methods. The ., *, - and _ symbols are never escaped by these two methods.

Best regards,
Joan

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