https://bugzilla.wikimedia.org/show_bug.cgi?id=32168

       Web browser: ---
             Bug #: 32168
           Summary: wfExpandUrl should expand ".." path segments
           Product: MediaWiki
           Version: 1.19-svn
          Platform: All
        OS/Version: All
            Status: NEW
          Severity: normal
          Priority: Unprioritized
         Component: General/Unknown
        AssignedTo: wikibugs-l@lists.wikimedia.org
        ReportedBy: gicodewarr...@gmail.com
    Classification: Unclassified


This section of the RFC explains how it is done.
http://tools.ietf.org/html/rfc3986#section-5.2.4

For example, "/a/b/c/./../../g" becomes "/a/g".

This is important for security reasons where you need to limit URLs to a
certain prefix.

-- 
Configure bugmail: https://bugzilla.wikimedia.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.
You are on the CC list for the bug.

_______________________________________________
Wikibugs-l mailing list
Wikibugs-l@lists.wikimedia.org
https://lists.wikimedia.org/mailman/listinfo/wikibugs-l

Reply via email to