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

James Forrester <[email protected]> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
           Priority|Unprioritized               |Normal
                 CC|                            |[email protected],
                   |                            |[email protected].
                   |                            |org
          Component|ContentEditable             |JS/General
           Assignee|[email protected]          |[email protected]
            Product|VisualEditor                |Parsoid
            Summary|Page with redirect cant be  |Parsoid: Page with redirect
                   |edited                      |can't be edited, gives 200
                   |                            |rather than 301 for reading

--- Comment #1 from James Forrester <[email protected]> ---
Juan,

Thanks for your bug report; you are correct. This is because Parsoid gives the
wrong response for pages with redirects. Pushing over to them.

Current behaviour:
* 200 response with the contents of the target page


On what we'd expect, I'd suggest either type A (but it's messy architecturally)
or type B (but not sure about user agent support for HTTP 300):

Expected behaviour - type A:
* when in 'reading mode', a 302 to the page with the redirect;
* when in 'editing mode', a 200 with the contents of the page (to edit the
redirect / etc.)

Expected behaviour - type B:
* a 300 response with the first link (for regular browsers) being off to the
target of the page, and the second being the ?redirect=no or whatever version
to be able to edit it.

-- 
You are receiving this mail because:
You are on the CC list for the bug.
You are watching all bug changes.
_______________________________________________
Wikibugs-l mailing list
[email protected]
https://lists.wikimedia.org/mailman/listinfo/wikibugs-l

Reply via email to