Skip to content
Permalink

Comparing changes

Choose two branches to see what’s changed or to start a new pull request. If you need to, you can also or learn more about diff comparisons.

Open a pull request

Create a new pull request by comparing changes across two branches. If you need to, you can also . Learn more about diff comparisons here.
base repository: mantisbt/mantisbt
base: 546d186
Choose a base ref
...
head repository: mantisbt/mantisbt
compare: 21a3469
Choose a head ref
  • 2 commits
  • 2 files changed
  • 1 contributor

Commits on May 9, 2012

  1. Documentation: improved troubleshooting for error 1502

    Added instructions on how to retrieve the category id
    dregad committed May 9, 2012
    Copy the full SHA
    6e84229 View commit details
    Browse the repository at this point in the history

Commits on May 11, 2012

  1. Fix string_insert_hrefs() to handle URLs with user/password

    This function inserts the hrefs in 2 steps: 1) URLs and 2) emails.
    
    When the string contains URLs specifying a username and/or password,
    e.g. http://user@example.com/ or http://user:password@example.com/
    the 2nd call to pcre_replace() processes the part of it that matches the
    email address specification, resulting in broken links and text display
    as well as invalid HTML generation.
    
    This commit fixes the behavior by adding logic to distinguish URLs with
    password and actual emails addresses.
    
    Backport of 1.3.x commit f460bbd253e228753360e72984c5ac878b4e553e
    Uses create_function() for preg_replace_callback instead of an Anonymous
    function, as they are not supported in PHP < 5.3.
    
    Fixes #12781
    dregad committed May 11, 2012
    Copy the full SHA
    21a3469 View commit details
    Browse the repository at this point in the history