Uploaded image for project: 'Moodle'
  1. Moodle
  2. MDL-57270

Can spam users with whitespace

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Minor
    • Resolution: Fixed
    • Affects Version/s: 3.2, 3.3
    • Fix Version/s: 3.2.1
    • Component/s: Messages
    • Labels:
    • Testing Instructions:
      Hide
      Test 1
      1. Visit the messaging page.
      2. Click on a user to send them a message.
      3. Hold down shift + enter to create new lines.
      4. Type a message.
      5. Hold down shift + enter to create new lines.
      6. Press enter to send once you feel you will annoy the user enough.
      7. Confirm the white spaces are stripped from your message.
      Test 2
      1. Visit the messaging page.
      2. Click on a user to send them a message.
      3. Hold down shift + enter to create new lines.
      4. Press enter and confirm the message is not sent.
      5. Press send and confirm the message is not sent.
      Show
      Test 1 Visit the messaging page. Click on a user to send them a message. Hold down shift + enter to create new lines. Type a message. Hold down shift + enter to create new lines. Press enter to send once you feel you will annoy the user enough. Confirm the white spaces are stripped from your message. Test 2 Visit the messaging page. Click on a user to send them a message. Hold down shift + enter to create new lines. Press enter and confirm the message is not sent. Press send and confirm the message is not sent.
    • Affected Branches:
      MOODLE_32_STABLE, MOODLE_33_STABLE
    • Fixed Branches:
      MOODLE_32_STABLE
    • Pull from Repository:
    • Pull Master Branch:
      MDL-57270_master

      Description

      Scenario one
      1. Visit the messaging page.
      2. Click on a user to send them a message.
      3. Type 'asd'.
      4. Hold down shift + enter to create new lines.
      5. Press enter to send once you feel you will annoy the user enough.

        Attachments

          Activity

            People

            Assignee:
            markn Mark Nelson
            Reporter:
            markn Mark Nelson
            Peer reviewer:
            Adrian Greeve
            Integrator:
            Eloy Lafuente (stronk7)
            Tester:
            Ankit Agarwal
            Participants:
            Component watchers:
            Amaia Anabitarte, Carlos Escobedo, Ferran Recio, Sara Arjona (@sarjona)
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Dates

              Created:
              Updated:
              Resolved:
              Fix Release Date:
              9/Jan/17