Giter Site home page Giter Site logo

urp_scu's Introduction

urp_scu's People

Contributors

nodejh avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar

urp_scu's Issues

icon 图标不完整

1|urp_scu | GET /apple-touch-icon.png 404 0.349 ms - 993
1|urp_scu | Error: Not Found

1|urp_scu | GET /apple-touch-icon-120x120-precomposed.png 404 1.892 ms - 993
1|urp_scu | Error: Not Found

1|urp_scu | GET /apple-touch-icon-120x120.png 404 0.402 ms - 993
1|urp_scu | Error: Not Found

匹配教学计划的正则表达式过于复杂且可能不精确

原正则表达式:

/tree\.add\([\\/.,\-'"::()、[\]ⅠⅡ()\w\s\u4e00-\u9fa5]+\);/g

匹配的是 tree.add(); 之间的字符,这些字符是 [\\/.,\-'"::()、[\]ⅠⅡ()\w\s\u4e00-\u9fa5] 中的任意一个。但有可能教学计划的字符没有出现在 [\\/.,\-'"::()、[\]ⅠⅡ()\w\s\u4e00-\u9fa5] 里面。

所以更好的做法应该是,判断 非 );

跳转页面将token作为url参数会暴露token

问题:

  • 跳转页面将token作为url参数会暴露token,用户只要知道链接就能通过该系统获取教务系统信息
  • 登录教务系统后,token是唯一的。再次登录会重新获得一个token。

解决办法:

  • 只将token作为cookie参数,页面跳转的时候,获取cookie?

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.