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

Error in Wiki with underscore links redirect to Moodle home

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Major
    • Resolution: Won't Fix
    • Affects Version/s: 2.2.4, 2.2.5, 2.2.11, 2.5.3, 2.6.6, 2.7.3
    • Fix Version/s: None
    • Component/s: Wiki (2.x)
    • Labels:
    • Testing Instructions:
      Hide
      1. Create a new wiki with the 'First page name' being whatever you like and click on 'Save and display'.
      2. Set the format to HTML for the first page and click 'Create page'.
      3. Click on 'New' in the 'Navigation' block.
      4. Create a page called 'HTML' with the HTML format.
      5. Add the text 'link'.
      6. Highlight the text and click on the paper clip button to create a link.
      7. In the pop-up for the URL value put 'http://example_url_with_underscores.com' and then 'Create a link'.
      8. Click 'Save'.
      9. Click on 'New' in the 'Navigation' block.
      10. Create a page called 'Creole' with the Creole format.
      11. Add the text 'http://example_url_with_underscores.com'.
      12. Highlight the text and click on the paper clip button to create a link.
      13. Click 'Save'.
      14. Click on 'New' in the 'Navigation' block.
      15. Create a page called 'NWiki' with the NWiki format.
      16. Add the text 'http://example_url_with_underscores.com'.
      17. Highlight the text and click on the paper clip button to create a link.
      18. Click 'Save'.
      19. Click on the 'Administration' tab.
      20. Go through the page name links for each page and confirm there is a link on each page that takes you to http://example_url_with_underscores.com.
      Show
      Create a new wiki with the 'First page name' being whatever you like and click on 'Save and display'. Set the format to HTML for the first page and click 'Create page'. Click on 'New' in the 'Navigation' block. Create a page called 'HTML' with the HTML format. Add the text 'link'. Highlight the text and click on the paper clip button to create a link. In the pop-up for the URL value put 'http://example_url_with_underscores.com' and then 'Create a link'. Click 'Save'. Click on 'New' in the 'Navigation' block. Create a page called 'Creole' with the Creole format. Add the text 'http://example_url_with_underscores.com'. Highlight the text and click on the paper clip button to create a link. Click 'Save'. Click on 'New' in the 'Navigation' block. Create a page called 'NWiki' with the NWiki format. Add the text 'http://example_url_with_underscores.com'. Highlight the text and click on the paper clip button to create a link. Click 'Save'. Click on the 'Administration' tab. Go through the page name links for each page and confirm there is a link on each page that takes you to http://example_url_with_underscores.com .
    • Affected Branches:
      MOODLE_22_STABLE, MOODLE_25_STABLE, MOODLE_26_STABLE, MOODLE_27_STABLE
    • Sprint:
      3.1 Stable Sprint 2

      Description

      In Moodle 2.2.4 or greater (2.2 branch) when in a Wiki put a link with underscore, moodle redirect to moodle home instead of correct URL.

      Howto reproduce:
      1.- In a Moodle 2.2.4 or greater (http://my.moodle.com)
      1.- In a wiki, link a URL likes: http://my.url.com/my_link
      2.- When you try to access in view mode wiki, moodle redicts to http://my.moodle.org instead of http://my.url.com/my_link

      David

        Attachments

          Issue Links

            Activity

              People

              Assignee:
              markn Mark Nelson
              Reporter:
              panidvd David Paniagua Ruano
              Participants:
              Component watchers:
              Amaia Anabitarte, Carlos Escobedo, Ferran Recio, Ilya Tregubov, Sara Arjona (@sarjona)
              Votes:
              1 Vote for this issue
              Watchers:
              10 Start watching this issue

                Dates

                Created:
                Updated:
                Resolved: