summaryrefslogtreecommitdiff
path: root/cups/http-support.c
Commit message (Collapse)AuthorAgeFilesLines
* Import all of the bug fixes from the OpenPrinting CUPS repository.Michael R Sweet2021-04-051-0/+7
| | | | | | Import the improvements to ippeveprinter from OpenPrinting/ippsample. Import the improvements to ippfind and ipptool from OpenPrinting/ippsample.
* Address multiple minor issues reported by the LGTM security scanner:Michael R Sweet2019-11-181-6/+4
| | | | | | | | - Lots of usage of localtime and gmtime (use _r/_s versions instead - Issue #5685) - Some unnecessary comparisons - Suppress checks that are not useful (header guards, short global names, and the integer overflow checks which don't reflect the actual range of values)
* Add support for DigestOptions directive in client.conf (Issue #5647)Michael R Sweet2019-10-151-1/+8
|
* Move debug printfs to internal usage only.Michael R Sweet2018-10-181-0/+1
| | | | Also, old MD5 code is internal-only.
* Cleanup.Michael R Sweet2018-10-171-1/+1
|
* Add missing DNSSD.LIB functions.Michael R Sweet2018-10-161-3/+0
|
* Migrate Windows conditional code to _WIN32 define.Michael R Sweet2018-10-101-6/+6
|
* More Digest changes.Michael R Sweet2018-09-141-133/+146
|
* More Digest authentication fixes/improvements.Michael R Sweet2018-09-141-37/+63
|
* Add digest debugging and fix a small bug in the HTTP unit test.Michael R Sweet2018-08-291-0/+2
|
* Fix issue with HTTP Digest authentication, add unit tests (rdar://41709086)Michael R Sweet2018-08-281-0/+105
|
* Add more URI validation for scheme.Michael R Sweet2018-05-141-3/+4
|
* Rename HTTP_STATUS_REDIRECT_TEMPORARILY to HTTP_STATUS_FOUND, to match RFC 7231.Michael Sweet2017-12-081-2/+2
| | | | (still have a define for the old name...)
* Add missing HTTP status message for 302 (moved temporarily).Michael Sweet2017-12-081-0/+3
|
* License change: Apache License, Version 2.0.Michael R Sweet2017-11-071-7/+1
|
* Support the latest HTTP Digest authentication specification (Issue #4862)Michael R Sweet2017-11-061-4/+1
| | | | | | | | | | | | | | | | | | | | | | | Also deprecates all httpMD5* functions. - cgi-bin/var.c: Use cupsHashData to compute SID hash. - cups/auth.c: Rewrite WWW-Authenticate parser to support multiple auth schemes and the new RFC 7616 version of HTTP Digest. - cups/cups.h: Add cupsHashString function to get a hex version of a hash. - cups/hash.c: Add MD5 support. - cups/http.c: Track WWW-Authenticate in a long string, concatenate new set values. - cups/http.h: Deprecate httpMD5* and recommend cupsDoAuth and cupsHash*. - cups/http-private.h: Pull MD5 stuff, nonce_count is unsigned, track WWW-Authenticate header as a potentially long string. - cups/http-support.c: Use cupsHashData to compute UUID hash. - cups/md5.c: Comment everything out if we have an OS-supplied MD5 hash function. - cups/md5passwd.c: Use cupsHash* functions. - cups/tls-*.c: Use cupsHash* functions. - cups/versioning.h: Add CUPS_API_2_3 definition. - scheduler/client.c: Update WWW-Authenticate header to include AuthRef, Local, and PeerCred schemes with parameters as needed.
* Save work on documentation.Michael Sweet2017-06-081-5/+9
|
* Documentation updates.Michael Sweet2017-05-311-6/+8
|
* Fix source file header text duplication text duplication.Michael R Sweet2017-01-161-1/+1
| | | | Bump copyright to 2017 in web interface and README files.
* Update localizations.Michael R Sweet2016-08-081-1/+1
| | | | Drop ellipsis from "Looking for printer" message.
* Update all references to OS X to macOS.Michael R Sweet2016-06-201-8/+8
|
* Fix compiler warning.Michael Sweet2016-05-301-1/+1
|
* Changes to eliminate warnings from new Clang.Michael Sweet2016-03-231-6/+2
|
* Fix some bugs in the implementation that have been around for a while...msweet2016-02-171-30/+21
| | | | git-svn-id: svn+ssh://src.apple.com/svn/cups/cups.org/trunk@13101 a1ca3aef-8c08-0410-bb20-df032aa958be
* Range check port numbers in URIs (<rdar://problem/23144461>)msweet2015-11-131-0/+6
| | | | git-svn-id: svn+ssh://src.apple.com/svn/cups/cups.org/trunk@12969 a1ca3aef-8c08-0410-bb20-df032aa958be
* Add ellipsis to "Looking for printer" message.msweet2015-06-241-2/+2
| | | | | | | | Update strings file generation to convert common ASCII sequences to their Unicode counterparts. git-svn-id: svn+ssh://src.apple.com/svn/cups/cups.org/trunk@12752 a1ca3aef-8c08-0410-bb20-df032aa958be
* Fix Linux builds without normal prerequisite libraries installed.msweet2014-08-281-1/+1
| | | | | | | Also correct GCC 4.8 compiler warnings. git-svn-id: svn+ssh://src.apple.com/svn/cups/cups.org/trunk@12124 a1ca3aef-8c08-0410-bb20-df032aa958be
* Update "since CUPS 2.0" into to mention OS X 10.10.msweet2014-08-191-2/+2
| | | | git-svn-id: svn+ssh://src.apple.com/svn/cups/cups.org/trunk@12094 a1ca3aef-8c08-0410-bb20-df032aa958be
* <rdar://problem/11829070> ER: Could we consolidate Wi-Fi and USB connections ↵msweet2014-05-021-4/+4
| | | | | | | | | to a printer as a single printer? Additional changes requested by Jim... git-svn-id: svn+ssh://src.apple.com/svn/cups/cups.org/trunk@11844 a1ca3aef-8c08-0410-bb20-df032aa958be
* Fall back to wireless if USB doesn't respond (<rdar://problem/11829070>)msweet2014-04-241-5/+40
| | | | git-svn-id: svn+ssh://src.apple.com/svn/cups/cups.org/trunk@11838 a1ca3aef-8c08-0410-bb20-df032aa958be
* Don't add // to geo: URIs.msweet2014-03-261-3/+3
| | | | git-svn-id: svn+ssh://src.apple.com/svn/cups/cups.org/trunk@11736 a1ca3aef-8c08-0410-bb20-df032aa958be
* Fix build errors on Fedora.msweet2014-02-141-10/+5
| | | | git-svn-id: svn+ssh://src.apple.com/svn/cups/cups.org/trunk@11594 a1ca3aef-8c08-0410-bb20-df032aa958be
* Full sweep of all Clang warnings, plus some bug fixes for incorrect memcpy ↵msweet2014-02-061-28/+87
| | | | | | usage. git-svn-id: svn+ssh://src.apple.com/svn/cups/cups.org/trunk@11558 a1ca3aef-8c08-0410-bb20-df032aa958be
* Fix builds.msweet2013-12-051-4/+4
| | | | | | | Fix tel: URIs (<rdar://problem/15418463>) git-svn-id: svn+ssh://src.apple.com/svn/cups/cups.org/trunk@11444 a1ca3aef-8c08-0410-bb20-df032aa958be
* Drop old private APIs that are no longer used/supported.msweet2013-10-181-7/+0
| | | | | | | Sync up exports file for Windows. git-svn-id: svn+ssh://src.apple.com/svn/cups/cups.org/trunk@11341 a1ca3aef-8c08-0410-bb20-df032aa958be
* Save work; public accessors for more stuff, continue transition away from ↵msweet2013-10-041-48/+47
| | | | | | | | | private APIs. git-svn-id: svn+ssh://src.apple.com/svn/cups/cups.org/trunk@11324 a1ca3aef-8c08-0410-bb20-df032aa958be
* <rdar://problem/14672918> Use UUID from dnssd URI to identify instance of ↵msweet2013-09-101-6/+0
| | | | | | | | | | printer Don't log the "still looking for xxx" message, let Jim screen those bugs :) git-svn-id: svn+ssh://src.apple.com/svn/cups/cups.org/trunk@11276 a1ca3aef-8c08-0410-bb20-df032aa958be
* <rdar://problem/14672918> Use UUID from dnssd URI to identify instance of ↵msweet2013-09-041-5/+75
| | | | | | | | | | printer Report UUID (if any) and use it to find a matching printer. git-svn-id: svn+ssh://src.apple.com/svn/cups/cups.org/trunk@11270 a1ca3aef-8c08-0410-bb20-df032aa958be
* Localize HTTP status codes based on Accept-Lanaguage (<rdar://problem/14201195>)msweet2013-08-121-9/+27
| | | | git-svn-id: svn+ssh://src.apple.com/svn/cups/cups.org/trunk@11233 a1ca3aef-8c08-0410-bb20-df032aa958be
* Fax queues did not work when shared via Bonjour (<rdar://problem/14498310>)msweet2013-07-261-1/+2
| | | | git-svn-id: svn+ssh://src.apple.com/svn/cups/cups.org/trunk@11193 a1ca3aef-8c08-0410-bb20-df032aa958be
* Update version numbers.msweet2013-07-031-1/+1
| | | | git-svn-id: svn+ssh://src.apple.com/svn/cups/cups.org/trunk@11085 a1ca3aef-8c08-0410-bb20-df032aa958be
* httpStatus(HTTP_ERROR) did not return a useful error messagemsweet2013-06-251-0/+3
| | | | | | | | (<rdar://problem/14217326>) git-svn-id: svn+ssh://src.apple.com/svn/cups/cups.org/trunk@11062 a1ca3aef-8c08-0410-bb20-df032aa958be
* <rdar://problem/14243133> AirPrint: Printers with name containing certain ↵msweet2013-06-251-12/+30
| | | | | | | | | characters are not recognized Support backquote (`) character and fix the IPv6 address detection code. git-svn-id: svn+ssh://src.apple.com/svn/cups/cups.org/trunk@11052 a1ca3aef-8c08-0410-bb20-df032aa958be
* Update svn:keyword properties.msweet2013-05-291-2/+2
| | | | git-svn-id: svn+ssh://src.apple.com/svn/cups/cups.org/trunk@10996 a1ca3aef-8c08-0410-bb20-df032aa958be
* Added support for RFC 6874's IPv6 link local address format in URIsmsweet2013-05-241-5/+45
| | | | | | | | (<rdar://problem/13979453>) git-svn-id: svn+ssh://src.apple.com/svn/cups/cups.org/trunk@10990 a1ca3aef-8c08-0410-bb20-df032aa958be
* Merge changes from CUPS 1.7b1-r10947.msweet2013-04-091-0/+7
| | | | git-svn-id: svn+ssh://src.apple.com/svn/cups/easysw/current@4274 a1ca3aef-8c08-0410-bb20-df032aa958be
* Sync up with CUPS 1.7svn-r10893msweet2013-03-111-49/+49
| | | | git-svn-id: svn+ssh://src.apple.com/svn/cups/easysw/current@4216 a1ca3aef-8c08-0410-bb20-df032aa958be
* Merge changes from CUPS 1.7svn-r10861.msweet2013-02-041-4/+4
| | | | git-svn-id: svn+ssh://src.apple.com/svn/cups/easysw/current@4167 a1ca3aef-8c08-0410-bb20-df032aa958be
* Merge changes from CUPS 1.7svn-r10791.msweet2013-01-101-9/+25
| | | | git-svn-id: svn+ssh://src.apple.com/svn/cups/easysw/current@4120 a1ca3aef-8c08-0410-bb20-df032aa958be
* Merge changes from CUPS 1.7svn-r10755.msweet2012-12-121-2/+1
| | | | git-svn-id: svn+ssh://src.apple.com/svn/cups/easysw/current@4074 a1ca3aef-8c08-0410-bb20-df032aa958be