Skip to content

Question marks are stripped from urls in submitted query values #4

@jools-r

Description

@jools-r

My situation is a simple form with a single field that allows users to update a specific link in a database field. If a user submits a link that contains url variables, smd_query's own ?urlvar / ?servervar syntax cuts in and strips out the question mark from the submitted value.

Returning the $POST variable using txp:page_url shows the form returning the link with the question mark, while the debug attribute in smd_query shows that the db query is without a question mark.

Workaround for now: switch directly to a txp:php snippet using txp's own safe_query or safe_update function.

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