Skip to content

Loading…

[Feed] sync svn r24842 - Fix ZF-4491 #4153

Closed
wants to merge 1 commit into from

2 participants

@sasezaki

Support the new Microsoft URL Rewrite Module for IIS 7.0.
(this commit inclueds applying 'Feed' only)

see
http://framework.zend.com/issues/browse/ZF-4491
http://framework.zend.com/code/revision.php?repname=Zend+Framework&path=%2Ftrunk&rev=24842

@sasezaki sasezaki sync svn r24842 - Fix ZF-4491: Support the new Microsoft URL Rewrite …
…Module for IIS 7.0.

(this commit inclueds applying 'Feed' only)
aa0504f
@weierophinney weierophinney added a commit that referenced this pull request
@weierophinney weierophinney Merge branch 'hotfix/4153' into develop
Forward port #4153
e6368b1
@weierophinney weierophinney added a commit that closed this pull request
@weierophinney weierophinney Merge branch 'hotfix/4153'
Close #4153
0dd1c6b
@ghost Unknown pushed a commit that referenced this pull request
@weierophinney weierophinney Merge branch 'hotfix/4153'
Close #4153
b7e0c4f
@ghost Unknown pushed a commit that referenced this pull request
@weierophinney weierophinney Merge branch 'hotfix/4153' into develop
Forward port #4153
72d000b
@weierophinney weierophinney added a commit to zendframework/zend-feed that referenced this pull request
@weierophinney weierophinney Merge pull request zendframework/zf2#4153 from sasezaki/hotfix/ZF-449…
…1/feed

[Feed] sync svn r24842 - Fix ZF-4491
085fb07
@weierophinney weierophinney added a commit to zendframework/zend-feed that referenced this pull request
@weierophinney weierophinney Merge branch 'hotfix/4153' 3144a5b
@weierophinney weierophinney added a commit to zendframework/zend-feed that referenced this pull request
@weierophinney weierophinney Merge branch 'hotfix/4153' into develop 0b2915d
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Commits on Mar 30, 2013
  1. @sasezaki

    sync svn r24842 - Fix ZF-4491: Support the new Microsoft URL Rewrite …

    sasezaki committed
    …Module for IIS 7.0.
    
    (this commit inclueds applying 'Feed' only)
Showing with 3 additions and 1 deletion.
  1. +3 −1 library/Zend/Feed/PubSubHubbub/AbstractCallback.php
View
4 library/Zend/Feed/PubSubHubbub/AbstractCallback.php
@@ -199,7 +199,9 @@ public function getSubscriberCount()
protected function _detectCallbackUrl()
{
$callbackUrl = '';
- if (isset($_SERVER['HTTP_X_REWRITE_URL'])) {
+ if (isset($_SERVER['HTTP_X_ORIGINAL_URL'])) {
+ $callbackUrl = $_SERVER['HTTP_X_ORIGINAL_URL'];
+ } elseif (isset($_SERVER['HTTP_X_REWRITE_URL'])) {
$callbackUrl = $_SERVER['HTTP_X_REWRITE_URL'];
} elseif (isset($_SERVER['REQUEST_URI'])) {
$callbackUrl = $_SERVER['REQUEST_URI'];
Something went wrong with that request. Please try again.