← Back to team overview

linterra team mailing list archive

[Bug 301730] [NEW] Query/Form Parsing Broken

 

Public bug reported:

When posting a form/query with a value that contains an ampersand, it
breaks. For example, posting the following:

{{{
       # BEGIN Wiki
        <IfModule mod_rewrite.c>
            RewriteEngine On
            RewriteBase /wiki/
            RewriteCond %{REQUEST_FILENAME} !-f
            RewriteCond %{REQUEST_FILENAME} !-d
            RewriteRule ^wiki/([^/\.]+)/?$ index.rsp?_action=view&page=$1 [L]
        </IfModule>
        # END Wiki
}}}

Only the content before the &page will be received. The rest is lost.

** Affects: rsp
     Importance: Undecided
     Assignee: Michael Owens (michael-owens)
         Status: New

** Changed in: rsp
     Assignee: (unassigned) => Michael Owens (michael-owens)
       Target: None => rsp-release

-- 
Query/Form Parsing Broken
https://bugs.launchpad.net/bugs/301730
You received this bug notification because you are a member of Linterra,
which is the registrant for RSP.

Status in Linterra RSP Web Framework: New

Bug description:
When posting a form/query with a value that contains an ampersand, it breaks. For example, posting the following:

{{{
       # BEGIN Wiki
        <IfModule mod_rewrite.c>
            RewriteEngine On
            RewriteBase /wiki/
            RewriteCond %{REQUEST_FILENAME} !-f
            RewriteCond %{REQUEST_FILENAME} !-d
            RewriteRule ^wiki/([^/\.]+)/?$ index.rsp?_action=view&page=$1 [L]
        </IfModule>
        # END Wiki
}}}

Only the content before the &page will be received. The rest is lost.



Follow ups

References