]> git.pld-linux.org Git - packages/drupal-mod-mass_url.git/blame - mass_url-password.patch
- tabs in preamble
[packages/drupal-mod-mass_url.git] / mass_url-password.patch
CommitLineData
a4db9cbd 1this patch fixes problem that /user/password generates 404 not found page
c31be3ff 2http://drupal.org/node/23350
a4db9cbd
ER
3
4--- ./mass_url.module 2004-11-24 17:00:33.000000000 +0200
5+++ /tmp/mass_url.module 2005-12-06 17:30:16.000000000 +0200
6@@ -59,7 +61,7 @@
7 return;
8 }
9 else if ($url_username == ('password')) {
10- user_page();
11+ user_pass();
12 return;
13 }
14 else if ($url_username == ('help')) {
c31be3ff
ER
15
16similiar problem and a fix
17http://drupal.org/node/18933
c0670541 18--- ./mass_url.module 2005-12-06 17:32:15.000000000 +0200
c31be3ff
ER
19+++ /tmp/mass_url.module 2005-12-06 18:00:44.000000000 +0200
20@@ -49,6 +49,11 @@
21
22 $page_type = urldecode(arg(0));
23 $url_username = urldecode(arg(1));
24+
25+ if (($page_type == 'blog') && ($url_username == 'feed')) {
26+ blog_feed_last();
27+ return;
28+ }
29
30 if ($url_username == ('login')) {
31 user_page();
This page took 0.096404 seconds and 4 git commands to generate.