I have some problems with serendipity_event_entryproperties:
I use URL Rewriting, so I have an article like
myblog.example/archives/4-pass-test.html
and a static page myblog.example/pages/test.html
Now I use password protection from the plugin.
After entering the pass the protected content is shown, but the URL is not rewritten anymore:
myblog.example/index.php?/archives/4-pass-test.html
myblog.example/index.php?serendipity[subpage]=Pfarrsaal
entryproperties - password makes trouble with URLs
-
stm999999999
- Regular
- Posts: 1531
- Joined: Tue Mar 07, 2006 11:25 pm
- Location: Berlin, Germany
- Contact:
entryproperties - password makes trouble with URLs
Ciao, Stephan
-
garvinhicking
- Core Developer
- Posts: 30022
- Joined: Tue Sep 16, 2003 9:45 pm
- Location: Cologne, Germany
- Contact:
Re: entryproperties - password makes trouble with URLs
Hi!
Yeah, a HTTP FORM POST only works to non-rewritten URLs; so there's no way to POST to the rewritten URL. The same, BTW, applies for when you comment to an entry, it also jumps to index.php directly.
Regards,
Garvin
Yeah, a HTTP FORM POST only works to non-rewritten URLs; so there's no way to POST to the rewritten URL. The same, BTW, applies for when you comment to an entry, it also jumps to index.php directly.
Regards,
Garvin
# Garvin Hicking (s9y Developer)
# Did I help you? Consider making me happy: http://wishes.garv.in/
# or use my PayPal account "paypal {at} supergarv (dot) de"
# My "other" hobby: http://flickr.garv.in/
# Did I help you? Consider making me happy: http://wishes.garv.in/
# or use my PayPal account "paypal {at} supergarv (dot) de"
# My "other" hobby: http://flickr.garv.in/
-
stm999999999
- Regular
- Posts: 1531
- Joined: Tue Mar 07, 2006 11:25 pm
- Location: Berlin, Germany
- Contact:
Re: entryproperties - password makes trouble with URLs
Sure?garvinhicking wrote:Yeah, a HTTP FORM POST only works to non-rewritten URLs; so there's no way to POST to the rewritten URL.
I use Opera, so I can alter the source code of a webpage on the fly. I change the form to:
Code: Select all
<div class="serendipity_entry_body">
<div class="staticpage_password">Diese Seite ist Passwortgeschützt. Bitte geben Sie das geeignete Passwort ein: </div>
<br /><br />
<form class="staticpage_password_form" action="http://example.com/pages/seite.html" method="post">Ciao, Stephan
-
garvinhicking
- Core Developer
- Posts: 30022
- Joined: Tue Sep 16, 2003 9:45 pm
- Location: Cologne, Germany
- Contact:
Re: entryproperties - password makes trouble with URLs
Hi!
Regards,
Garvin
It only works for mod_rewrite, not for apache errorhandling. But I do not want to fork the code to handle URL-rewriting differently for those two cases.Sure?
Regards,
Garvin
# Garvin Hicking (s9y Developer)
# Did I help you? Consider making me happy: http://wishes.garv.in/
# or use my PayPal account "paypal {at} supergarv (dot) de"
# My "other" hobby: http://flickr.garv.in/
# Did I help you? Consider making me happy: http://wishes.garv.in/
# or use my PayPal account "paypal {at} supergarv (dot) de"
# My "other" hobby: http://flickr.garv.in/