Git Product home page Git Product logo

Comments (13)

seanlip avatar seanlip commented on June 20, 2024

/cc @hoangviet1993 -- would you be able to look into this, please? It looks quite odd.

Thanks!

from foundation-website.

hoangviet1993 avatar hoangviet1993 commented on June 20, 2024

I think this is a trailing slash issue? If you take a valid url like oppiafoundation.org/about and append a trailing slash to it, you would reproduce the bug. One interesting note is that you have to append the slash directly yourself, linking the page would not replicate the bug.

Try clicking it here: https://oppiafoundation.org/about/

I have been looking up potential solutions and so far, no quick hacks unfortunately.

I have seen a few SO popping up about ui-router's strictMode would get rid of trailing slashes in URL. However, that means I would have to bring in ui-router in place of the AngularJS's routeProvider that we are currently using.

How should we handle this bug? More investigation?

from foundation-website.

seanlip avatar seanlip commented on June 20, 2024

Yes, I think it is a trailing slash issue, and that it needs more investigation. Some thoughts:

  • Perhaps the regexes in app.yaml can be modified to allow for a trailing slash.
  • For the URL routing in main.py there should perhaps be a "catch-all" handler that either goes to a 404 page, or redirects to the main page? We should probably also ensure that each URL pattern allows for a trailing slash, too.

What do you think?

from foundation-website.

rajk1121 avatar rajk1121 commented on June 20, 2024

Hi, I am a beginner in open source contribution. Is this issue still open? I would like to contribute if possible.

from foundation-website.

seanlip avatar seanlip commented on June 20, 2024

Hi @rajk1121 -- you're welcome to help! Please follow the instructions at https://github.com/oppia/oppia/wiki/Contributing-code-to-Oppia#setting-things-up to get started.

from foundation-website.

rajk1121 avatar rajk1121 commented on June 20, 2024

Thanks. I will get back to you as soon as I set up the project locally on my PC.

from foundation-website.

rajk1121 avatar rajk1121 commented on June 20, 2024

I am having this error.Please help
os

from foundation-website.

rajk1121 avatar rajk1121 commented on June 20, 2024

Any help will be appreciated.

from foundation-website.

seanlip avatar seanlip commented on June 20, 2024

I have never seen this error before, sorry. But one thought might be that google_appengine didn't download properly. Do you have a wrapper_util.py in the top level of the google_appengine/ folder (alongside dev_appserver.py and run_tests.py)? If not, then that might signal an incomplete download. If so, I'm not sure what's going on -- you might need to look at how Python handles imports in general, maybe something else on your sys.path is interfering with trying to figure out where to import the library from.

from foundation-website.

Yashs911 avatar Yashs911 commented on June 20, 2024

Hi, @seanlip I would like to work on this issue. Can you please guide me on what all changes do I need to make?
After some surfing, I found that we need to write a rule in htaccess code to redirect them.

from foundation-website.

seanlip avatar seanlip commented on June 20, 2024

Sorry, I don't know what changes need to be made here -- that's part of what whoever takes up the issue would need to figure out. It requires some investigation. I don't think it is related to htaccess, though, because this site does not run on an Apache Web Server.

from foundation-website.

Ayushsunny avatar Ayushsunny commented on June 20, 2024

I wanna work on this issue

from foundation-website.

seanlip avatar seanlip commented on June 20, 2024

Thanks for your interest, @Ayushsunny. We are planning to combine the pages here with that of the main site, so it is probably not worthwhile to work on this issue. I'm going to close it.

from foundation-website.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.