Skip to content

Escaping DB field's value #3

@edouard-gillet

Description

@edouard-gillet

Hello Patrick,

I noticed that in the SOAP webservice for Moodle 1.8, the value inserted in the DB are not escaped. Having a ' in the value will create an error during the DB operation.

I think the escaping should be done in the webservice, prior to the DB calls.

I can change the source code to escape the values, and give it to you.

Thank you,

Edouard Gillet

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