Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix warning: ignore last part for rewriting when uneven count #12

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

ibotty
Copy link

@ibotty ibotty commented Dec 14, 2012

ezzoom was generating many warnings like the following

[Fri Dec 14 09:59:12 2012] [warn] [client 66.249.76.102] mod_fcgid: stderr: PHP Notice: Undefined offset: 13 in /var/www/magento/htdocs/ezzoom.php on line 138

that happens because ezzoom adds '/ZOOM_INDEX' to the uri before splitting.

the fix will just ignore the last component. in my (limited) testing, it has always been 'ZOOM_INDEX'.

ezzoom was generating many warnings like the following

[Fri Dec 14 09:59:12 2012] [warn] [client 66.249.76.102] mod_fcgid: stderr: PHP Notice:  Undefined offset: 13 in /var/www/magento/htdocs/ezzoom.php on line 138

that happens because ezzoom adds '/ZOOM_INDEX' to the uri before splitting.

the fix will just ignore the last component. in my (limited) testing, it has always been 'ZOOM_INDEX'.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

1 participant